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 . Sarvi ----- Original Message ---- > From: Benjamin Peterson <[email protected]> > To: Saravanan Shanmugham <[email protected]> > Cc: [email protected] > Sent: Tue, September 14, 2010 2:26:31 PM > Subject: Re: [pypy-dev] PyPy to generate C/C++ code > > 2010/9/14 Saravanan Shanmugham <[email protected]>: > > 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 > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
