[pypy-dev] Python FFI
Stefan Behnel
stefan_ml at behnel.de
Tue May 15 18:37:08 CEST 2012
Maciej Fijalkowski, 15.05.2012 18:31:
>> However, CPython doesn't have a JIT compiler, and that's one of the biggest
>> drawbacks for (something like) ctypes. There's a reason we compile real
>> code in Cython, not just a thin glue layer. So, if you want something
>> that's usable outside of PyPy, you will have to come up with something
>> that's useful in CPython as well.
>>
> Completely ignoring your other issues for now. No, this is not the major
> drawback for ctypes for me. I know people who would happily use something
> that works nicely on pypy and cpython without performance considerations.
> The problem is that ctypes is at the wrong level - you cannot do some
> things and that's where cython helps. Ctypes is also crazy and inconsistent
> and hard to use, this makes it even more problematic.
Ok, point taken.
Stefan
More information about the pypy-dev
mailing list