reverse Jython

Mark Asbach mark.asbach at post.rwth-aachen.de
Tue Oct 19 05:55:18 EDT 2004


Hi Maurice

> I am wondering if it is worth reversing this, that is, a Java interpreter
> implemented in Python?

Why?

Jython makes sense because you free Python usage from C compilation and
platform issues (regarding extension modules) while still providing
acceptable runtime performance.

The other way round would not cure or help anything.

If you need an interesting topic: why not write a just-in-time compiler
for Python? 

There's already some interesting stuff in module "weave" and the pythonc
from Jython, but having a python interpreter use (say) gcc at runtime to
convert and probably optimize Python code to natively executable
binaries, you could speed up Python to the max.

Just my 2 cents,

Mark



More information about the Python-list mailing list