[pypy-dev] Porting Python C-Code to Python

Thomas Fanslau tfanslau at gmx.de
Wed Jan 22 22:33:37 CET 2003


I'm reading the list for some time now ... and although I understand 
what you want to achieve I may not really understand what is involved in 
reaching that goal ...

But lately I read about porting that C-Code to Python and I have a 
question/suggestion that may be a serious candidate for the most stupid 
idea :)

Shouldn't it be possible to write a (small) backend to gcc to generate 
python-bytecode? So you can translate the C-Part of Python (or any other 
C-Code :) to python-bytecode and run it. That should be easier then all 
the other suggestions and allows you to replace the C-Code Module for 
Module ...

--tf



More information about the Pypy-dev mailing list