Python to native compilation via java?

VanL van at lindbergs.org
Mon Jun 18 22:34:36 CEST 2001


<mailto:jython-users at lists.sourceforge.net>Hello,

I was reading about the new gcc 3.0 release, and something that caught 
my eye:

"""
The GNU Compiler for the Java Programming Language
What is GCJ?

GCJ is a portable, optimizing, ahead-of-time compiler for the Java 
Programming Language. It can compile:

    * Java source code directly to native machine code,
    * Java source code to Java bytecode (class files),
    * and Java bytecode to native machine code.

Compiled applications are linked with the GCJ runtime, libgcj, which 
provides the core class libraries, a garbage collector, and a bytecode 
interpreter. libgcj can dynamically load and interpret class files, 
resulting in mixed compiled/interpreted applications.
"""

Would code get any significant speedup by going jython -> .class files 
-> native?

Thanks,

Van





More information about the Python-list mailing list