Python code -> to C code

Jan Olderdissen jolderdissen at ixiacom.com
Tue Apr 29 13:14:58 EDT 2003


Garrison,

I agree with Peter that you're probably better off taking a closer
look at Python instead of attempting to convert an existing Python
program to C. Python is really easy to learn and remember - especially
if you know C.

That said, it would be an interesting project to implement a just in
time compiler for Python that converts Python byte-code to C and uses
gcc to generate a binary form. There is some moderate performance
enhancement to be had, I suspect.

Jan

On Tue, 29 Apr 2003 02:23:59 +0100, "Garrison Tsang" <hygt2 at cam.ac.uk>
wrote:

>Knowing nothing about Python at the moment, I need to convert a python-code
>into compatible c-code.  I recall that were some program/utility that does
>the transformation for you.





More information about the Python-list mailing list