
Oct. 26, 2009
10:43 p.m.
Nick Coghlan <ncoghlan@...> writes:
Something I've long been curious about (but never even come close to having the time to research) is the idea of using CPython extensions with PyPy. It sounds like that would involve an effort in a similar vein to porting Ironclad to Jython (i.e. porting the back end to PyPy instead).
We say "it would be possible", but no one is really interested in doing the work which it would involve. At the moment, it's not even possible to have loadable RPython extension modules because of how the RPython translator works. Our answer right now, though, is that we want to eliminate the need for C extensions at all. ctypes can be used for binding to C libraries and our JIT can provide speed.