[pypy-dev] PyPy to generate C/C++ code
benjamin at python.org
Tue Sep 14 23:26:31 CEST 2010
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.
More information about the Pypy-dev