[pypy-dev] cpyext - compilation, and swig?

Darjus Loktevic darjus at gmail.com
Sun May 15 00:02:47 CEST 2011


So, while waiting for my wife in the beauty salon, got something basic working.

=======
In [1]: import example
In [2]: example.get_time()
Out[2]: 'Sat May 14 14:58:35 2011\n'
=======

I think it'll take me a few weeks to get it to the point of being
really usable (need to add many more things, docs, etc.), but it
should be very useful for PyPy and it seems C++ is doable as well.

Darjus

On Fri, May 13, 2011 at 3:41 PM, Amaury Forgeot d'Arc
<amauryfa at gmail.com> wrote:
> 2011/5/14 Darjus Loktevic <darjus at gmail.com>:
>> After looking at SWIG cffi example, it seems that adding basic support
>> for PyPy ctypes should not be hard (no C++ support of course). I might
>> play with it on the weekend.
>
> Nice!
> But note that SWIG cffi can also wrap C++ classes...
>
> --
> Amaury Forgeot d'Arc
>


More information about the pypy-dev mailing list