[LLVMdev] Minimum Python Version
Christoph Grenz
christophg+llvm at grenz-bonn.de
Thu Dec 6 17:27:27 PST 2012
Am Donnerstag, 6. Dezember 2012, 16:39:51 schrieb Sam Rushing:
> [...]
> Entering the discussion a bit late, but I'd like to make a plug here for
> using Cython for any official Python bindings. There are numerous
> advantages to using it over writing extension modules by hand in C, but
> one advantage that is relevant to this discussion: Cython supports
> Python 2 and 3 from the same source code, so it goes a long way to
> easing maintenance.
As far as I understood the thread was mostly about the utilities written in
Python, not the bindings.
However, I'd second that.
> http://docs.cython.org/src/userguide/pyrex_differences.html
>
> As an example of how to write such an interface, a minimalist JIT interface:
>
> https://github.com/samrushing/lljit
And my try on making a "Pythonic" interface to the IR in Cython:
https://gitorious.org/python-llvm3
> - -Sam
Christoph
More information about the llvm-dev
mailing list