[pypy-dev] C interpreter written in Python, and running CPython on top of PyPy

Maciej Fijalkowski fijall at gmail.com
Fri Jan 6 19:03:41 CET 2012

On Fri, Jan 6, 2012 at 7:57 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Armin Steinhoff, 06.01.2012 17:25:
>> A better aproach would be to bind the TCC library ( libtcc ->
>> http://bellard.org/tcc/tcc-doc.html#SEC22 ) to PyPy.
>> This library allows to compile on the fly and creates x86 executable code
>> in memory space ... no link actions, just call it with a library call.
> ... except that it doesn't support the full C standard, so it won't compile
> all existing code, at least not correctly, from my experience. And it only
> works on the x86 (32/64bit) architecture. It also (obviously) won't generate
> as efficient code as gcc or icc would. So you won't gain as much as you
> might think.
> Stefan
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev

Maybe slightly offtopic, but I would like to point out that C/RPython
integration works just fine.


More information about the pypy-dev mailing list