[pypy-dev] Ctypes module written in RPython

Carl Friedrich Bolz cfbolz at gmx.de
Fri Mar 25 10:39:37 CET 2011


On 03/24/2011 10:14 PM, Alex Perry wrote:
> I can't find it in the docs, but it has been alluded to in the past.
> How far is the project from being able to compile a rpython module?
> I'd expect that to emit a wrapper that imports ctypes and declares
> calls into a shared library, and a directory of C code which
> implements the internals and can compile into the expected shared
> library.

I think the crucial part of your question that you don't state is that 
you want to be able to use these RPython modules compiled to C from 
CPython and Jython or really anything that supports ctypes, right?

Carl Friedrich



More information about the Pypy-dev mailing list