Java to Python byte code

Phil Frost indigo at bitglue.com
Wed Oct 6 08:20:23 EDT 2004


I know of no such tool. Furthermore, I doubt it would be faster. The
Java VM is many times faster than Python for most things. Perhaps a
better solution would be to compile your Java with gcj and then
interface to that with Pyrex.

On Wed, Oct 06, 2004 at 03:08:52PM +0530, Kiran Kumar wrote:
> Hello All,
> 
> I am just curious to know if there is any tool which would let me
> cross compile java source code to python byte codes directly.
> 
> I have developed a library [in Java ] for statistcs and machine 
> learning. Some of them are computationally demanding. My
> line of thinking is , if I could get to compile java source to 
> python byte code , it would be more faster than interfacing
> with Jython.
> 
> Any comments would be helpful
> 
> Thanks,
> 
> Kiran Kumar



More information about the Python-list mailing list