[pypy-dev] [python-cffi] Re: serialize and deserialize objects in Pypy

Armin Rigo arigo at tunes.org
Fri Aug 7 16:30:08 CEST 2015


Hi Yicong,

On 7 August 2015 at 15:13, Yicong Huang <hengha.mao at gmail.com> wrote:
> Could we get the address of the Pypy Object and the length of the object,
> and memcpy the content from Pypy to C++ and then from C++ to Pypy?

No.  And if you try the same thing on CPython with PyObjects, it would
crash in 99% of the cases too.


A bientôt,

Armin.


More information about the pypy-dev mailing list