[pypy-dev] cppyy: C++ bindings for PyPy

Alexander Pyattaev alexander.pyattaev at tut.fi
Mon Apr 23 10:33:44 CEST 2012


An important question from userland - would it be benefitial to switch from 
SWIG to the new interface? When can that be done?

Right now the main problem with SWIG is the object ownership, i.e. with pypy 
one has to set thisown=False for all objects to avoid crashes related to GC 
code. The problem occurs only for long-living objects though.

 Still, the point is that a new C++ interface is a cool thing to have, 
especially if it is native to pypy. Cant wait to test it out on a huge c++ 
extension

PS: I would have gladly tested an alpha-beta quality version of the lib (i 
have some unittests for SWIG bindings, so they should work with new lib also i 
suppose), but I can not build pypy from sources, not enuf RAM =) Maybe someone 
could send me a build with new feature for testing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120423/633977a1/attachment.html>


More information about the pypy-dev mailing list