[pypy-dev] Does/will pypy support cpython's c extension modules?

Neal Becker ndbecker2 at gmail.com
Mon Jan 29 20:56:27 CET 2007


Sean Lynch wrote:

> Please no. Porting modules to ctypes is well worth the effort because
> then they will work with Jython and IronPython as well as CPython and
> PyPy. IMHO the CPython extension API is the "wrong" way to extend Python
> and has been since the beginning, not least because it assumes
> implementation details of the interpreter like reference counting,
> object layout, etc.

I have tons of code using boost::python.  Wouldn't it be a lot of work to
port to ctypes?  I'm guessing, it's basically a complete rewrite.

> James Matthews wrote:
>> Why not if Cpython can then pypy can !
>>
>> On 1/23/07, Simon Burton <simon at arrowtheory.com> wrote:
>>>
>>>
>>> Not likely.
>>>
>>> Simon.
>>>
>>> On Tue, 23 Jan 2007 15:29:00 -0500
>>> Neal Becker <ndbecker2 at gmail.com> wrote:
>>>
>>> > Subject says it all.  Will I be able to use my existing c (c++
>>> actually)
>>> > modules?
>>> >
>>> > _______________________________________________
>>> > pypy-dev at codespeak.net
>>> > http://codespeak.net/mailman/listinfo/pypy-dev
>>> _______________________________________________
>>> pypy-dev at codespeak.net
>>> http://codespeak.net/mailman/listinfo/pypy-dev
>>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> pypy-dev at codespeak.net
>> http://codespeak.net/mailman/listinfo/pypy-dev





More information about the Pypy-dev mailing list