|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Android: Jython port?In an earlier message, I mentioned the C/C++ dependencies of CPython libraries.
Well, a lot of buzz has started up over the GPhone, and the Android SDK: http://code.google.com/android/ The SDK apparently is Java based. So I wondered: could a port of Jython be made to the Android SDK? Note that the JVM is not actually a Java byte code VM but the Dalvik virtual machine, Google's VM which may eventually work for languages other than Java. BTW: A Jython port may actually be worth money! There's a "challenge" going on shortly that could be a good incentive for such a port: http://code.google.com/android/adc.html -- Owen |
|
|
Re: Android: Jython port?Oops, didn't see this:
http://www.nabble.com/Jython-on-Android-to13796197.html .. so apparently the topic has been discussed already, sorry. 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? -- Owen
|
|
|
Re: Android: Jython port?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. 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 |
|
|
Re: Android: Jython port?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#dx Unfortunately, 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 |
|
|
Re: Android: Jython port?Might want to have a look at the unfortunately named jythonroid.
http://code.google.com/p/jythonroid/
|
| Free embeddable forum powered by Nabble | Forum Help |