[pypy-dev] offtopic, ontopic, ...
faassen at startifact.com
Tue Feb 14 17:04:56 CET 2012
On Tue, Feb 14, 2012 at 4:28 PM, mark florisson
<markflorisson88 at gmail.com> wrote:
>> There is no way to map that to Python unless you use something like
>> ctypes (but ctypes is not considered to be right for this purpose).
> Why is ctypes not right? Cython could actually generate a C function
> with a known interface, that proxies the actual C function. That code
> would be compiled by the C compiler, and any C API changes would
> prevent the module from compiling. It would also take care of any
> promotions etc on the C level.
I don't know but this was what people said. I'm hoping someone will
explain why a new FFI story would be needed.
More information about the pypy-dev