[pypy-dev] offtopic, ontopic, ...

Antonio Cuni anto.cuni at gmail.com
Tue Feb 14 09:35:36 CET 2012


On 02/14/2012 09:17 AM, Stefan Behnel wrote:
>
> Stuffing the code for both CPython and PyPy into the same C source file may
> result in a noticeable increase in C code size at some point, but as long
> as the C preprocessor can filter it back out, at least the build times
> won't go up all that much, and it's not like a couple of compressed KBytes
> more would hurt a PyPI package these days.

This is unlikley to happen IMHO, because PyPy does not offer its own C API 
(yet?). The only C API supported by PyPy is cpyext, which is a (slowish) 
wrapper compatible with CPython.

The only places where the C code needs to be different is where Cython bypass 
the C API and directly manipulates the underlying C structures.

ciao,
Anto


More information about the pypy-dev mailing list