[semi OT]: Smartphones and Python?

Michael Torrie torriem at gmail.com
Fri Feb 17 02:45:15 CET 2012

On 02/16/2012 10:38 AM, Grant Edwards wrote:
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files.  Those files are then converted into .dex
> files to run on Davlik.
> I don't know much at all about Jython, but if it generates JVM byte
> code, mightn't the same conversion to .dex be applicable?

I think it has to do with the fact that Jython does dynamic class
generation and loading.  Similarly I don't think JBoss or Tomcat could
be ported easily to Dalvik without making lots of changes to the class
loading stuff.  But I know nothing about Java, so I could be way wrong here.

More information about the Python-list mailing list