Python to C converter

Chance Ginger cginboston at hotmail.com
Wed Jun 7 15:38:18 EDT 2006


Isn't Pyrex for writing extensions to Python? As for PyPy, I 
didn't scroll down far enough to see the compiler info. It
does say it is Python written in Python at the top.

Shedskin is nothing but a compiler.

On Wed, 07 Jun 2006 19:13:27 +0200, Carl Friedrich Bolz wrote:

> Chance Ginger wrote:
>> If you are looking for a "real" python to C, well in this case
>> C++ look for the shedskin compiler. It will take a rather
>> nice subset of Python and generate C++ code from it. 
> 
> 
> In which sense is shedskin a more "real" python to C/C++ compiler than 
> some of the other mentioned projects? As most of the others (PyPy, 
> Pyrex), Shedskin works only for a small number of Python programs that 
> don't mix types too wildly.
> 
> BTW: While the RPython (the subset of the Python language that PyPy can 
> compile) might not be extremely advanced, using it gives you a number of 
> very interesting features: like having the resulting program been 
> enhanced to not use the C stack (for deeply recursive code), using 
> different garbage collection strategies...
> 
> Cheers,
> 
> Carl Friedrich Bolz




More information about the Python-list mailing list