Jython-2.0 released

Jeremy Hylton jeremy at alum.mit.edu
Fri Jan 19 14:00:01 EST 2001


[Steve Holden explaining to TOm that Jython is not something completely
 different:]
>> No. JPython was similar to standard (C)Python in that it compiled to
>> intermediate byte codes and interpreted them. The smart part was
>> compiling to *Java* bytecodes instead of Python bytecodes. Jython
>> programs can be run by any Java Virtual Machine implementation, and
>> therefore get pretty amazing integration with Java classes. It is
>> possible to have Python classes subclassing Java classes, and vice
>> versa.

[Tom follows up:]
> Looking at this from the point of reference of the Java platform,
> this was not, but is now a compiler.
>
> It sounds really good, but it also sounds like a lot of work was
> involved.

There is nothing new about Jython 2.0 that makes it any more or less
a compiler.  There has always been a compiler that compiles Python
source code to Java bytecodes and a Python runtime invoked by the
compiled code.  There was indeed a lot of work done to get Jython 2.0
released, but there was no fundamental change to the architecture.

Jeremy


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list