[pypy-dev] PyPy to generate C/C++ code

Saravanan Shanmugham sarvi at yahoo.com
Wed Sep 15 00:15:36 CEST 2010

I don't expect this python compiler to be for full python but just a Restricted 
statically typed subset of python as defined by Shedskin.

Yes. JIT annotation may not serve the purpose of generating a compiler.
Hence the porting of the type inference engine and may be use JIT notations if 
it can be . 


----- Original Message ----
> From: Benjamin Peterson <benjamin at python.org>
> To: Saravanan Shanmugham <sarvi at yahoo.com>
> Cc: pypy-dev at codespeak.net
> Sent: Tue, September 14, 2010 2:26:31 PM
> Subject: Re: [pypy-dev] PyPy to generate C/C++ code
> 2010/9/14 Saravanan Shanmugham <sarvi at yahoo.com>:
> > To be very clear  this is not a question on PyPY RPython itself. :-))
> >
> > But I had  another thought and wanted to run it by PyPy team.
> >
> >
> > As I  understand it PyPy is foremost a language development framework.
> > It is  about implementing the python interpreter in RPython, plus
> > additional  hints to assist in JIT generation.
> >
> > If the Python language  implementation in RPython has enough
> > information to create a python  interpreter and do JIT compilation.
> > I am thinking it should have enough  information to generate C/C++ code.
> Creating a JIT compiler is completely  different from statically
> compiling code. In a JIT, you use runtime  information to optimize the
> code. You can't do anything about this in  C.
> -- 
> Regards,
> Benjamin


More information about the Pypy-dev mailing list