On Dec 26, 2007 11:40 PM, Charlie Groves <
charlie.groves@...> wrote:
> On Dec 26, 2007 8:35 PM, backspaces <
owen@...> wrote:
> > BTW: Does no response to the above post imply there are difficulties in
> > doing a Jython->Android port? Or simply that there is no interest?
>
> Well, I know I'd like to see it happen, but I'm pretty sure there'd be
> some difficulties. Jython emits bytecode for the JVM directly. I
> think the Dalvik VM that Android is using has a completely different
> bytecode format, so the code Jython makes would have to be retrofitted
> for that in addition to just compiling Jython for Dalvik. How hard
> that would be, I can't say.
Actually, it looks like their dx tool converts directly from Java
bytecode to Dalvik's format:
http://code.google.com/android/reference/othertools.html#dxUnfortunately, Jython doesn't compile the bytecode it generates for
proxy classes to disk, so there'd still be some work involved in
getting Jython to produce all the classes for dx to process. That's
one of the things on the list for 2.5 though.
Charlie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users