[Cython] new FFI library for Python

Stefan Behnel stefan_ml at behnel.de
Mon Jun 18 18:39:19 CEST 2012


Philip Herron, 18.06.2012 17:26:
> On 18 June 2012 15:12, Stefan Behnel wrote:
>> the PyPy folks have come up with a new FFI library (called cffi) for
>> CPython (and eventually PyPy, obviously).
>>
>> http://cffi.readthedocs.org/
>>
>> It borrows from LuaJIT's FFI in that it parses C declarations at runtime.
>> It then builds a C extension to access the external code, i.e. it requires
>> a C compiler at runtime (when running in CPython).
>>
>> Just thought this might be interesting.
> 
> I have been using libffi in my gccpy runtime wonder why they decided
> to make a new one and not use libffi

Isn't libffi RPython? That's enough of a reason, I'd say.

Stefan


More information about the cython-devel mailing list