Python too slow?

Jaimy Azle jazle at localhost.com
Tue Jan 15 20:17:32 EST 2008


"Paul Boddie" <paul at boddie.org.uk> wrote:
>>
>> perhaps in the future another sillly point could be added also, Java has
>> Jython, while Python doesn't have some thing like PyJava or... perhaps 
>> Py-va
>> (Python based Java Language).
>
> You could compile Java to CPython bytecode or, in the case of a little
> experiment I did some time ago, translate Java bytecode to CPython
> bytecode: the CPython virtual machine operates at a higher level and
> can support the Java instructions fairly easily, whereas a fair amount
> of work is required to support CPython instructions on the Java
> virtual machine. I found that the biggest obstacle was probably
> treating Java packages like Python packages - something which
> admittedly isn't completely necessary, but which would make the thing
> more usable at the prompt. Ultimately, I had little need for Java-
> based software and thus wasn't motivated into continuing the work,
> although Python 2.5 and beyond do provide some conveniences which
> might make some aspects of the implementation more bearable.
>

Wow, serious... what you've done was really, really cool... :)

I was expect there are nobody willing to do to have python runs Java 
Language (such as PyPy) over CPython. Perhaps your javaclass does not work 
just like as PyPy, but really... it is damned cool to get CPython execute 
java byte-code, congratulations...

Salam,

-Jaimy. 





More information about the Python-list mailing list