I'll address Jython: we plan support for Android in our 2.5.1 release.
Supporting Android is similar to supporting unsigned applets: we either
compile Python code in advance to Java bytecode, or compile it on the fly to
Python bytecode (PBC) and execute with our PBC VM (just a straight port of
ceval.c). Any class proxies also need to be compiled to Java bytecode in
advance too, although we could support Java dynamic proxies for interface
inheritance only (a significant but hopefully workable restriction, given
that we prefer interfaces in Java, but of course only impacts Java
integration). Packaging for Dalvik or as applet then becomes similar to say
packaging a WAR file for Django or Pylons.
The only missing pieces are support for the deployment piece, dynamic
proxies, and a PBC compiler, all of which we have started work on, but put
on hold for getting 2.5.0 out.

- Jim


On Wed, Apr 22, 2009 at 2:24 AM, Laura Creighton <[email protected]> wrote:

>
> This showed up on another list I read.
>
> ------- Forwarded Message
>
> From: Roland Orre <[email protected]>
> Date: Wed, 22 Apr 2009 10:05:15 +0200
> To: [email protected]
> Subject: Re: [Cafe] android g1
> X-BeenThere: [email protected]
>
> I also have a Google G1 now with a developers account.
> It is cool to have a telephone which I can ssh from and where I can
> set up an ftp server.
>
> I intended to start porting some applications like some HP calculator
> (I have HP42S and HP48GX), and probably openssl, openssh and a vpn
> client.
>
> One tricky aspect with the Android system is that it has it's own
> noncompatible VM which is the Dalvik virtual machine, which shold be
> more memory efficient than the standard JVM. This JVM is written by
> Dan Bornstein and released with Apache license v2.
>
> The tricky thing is that this gets around  Sun's grip on the JVM but
> also implies that platform independent code is no longer platform
> independent...
>
> JVM bytecode can be converted to DalvikVM code though, but there is no
> just in time compiler for JVM to DalvikVM yet though, so e.g. Jython
> is not really nice implemented on it yet, although there is jythonroid
> http://code.google.com/p/jythonroid/
>
> The current ARM chip is claimed to have hardware support for JVM
> though, even though Android should not be platform dependent of
> course.
>
> Any opinion about the JVM - DalvikVM issue?
>
> /Roland
>
> On Wed, Apr 22, 2009 at 08:39, Ivan F. Villanueva B. <[email protected]>
> wrote:
> > [moved to c...@]
> >
> > El Tue, Apr 21, 2009 11:28:36PM +0200, Alberto Barrionuevo escribió:
> >> On Tuesday 21 April 2009 14:05:42 Ivan F. Villanueva B. wrote:
> >> > At the moment Google has his own modified implementation of a JRE for
> his
> >> > operating system Android. Maybe interesting to check if they call it
> Java
> >> > and related issues.
> >> >
> >> > Anyway, It seems the mobile Market will boom soon, with all the
> Internet
> >> > applications, and Java will be very important again. I have an Android
> G1
> >> > mobile phone myself, and it is like a device coming from the future.
> >> > Applications are programed in the Google JRE. I'm just testing it, and
> you
> >> > have: - no need for backups, everything is synchronized with your
> Google
> >> > account (which is of course not nice for privacy issues, but it works
> just
> >> > without doing anything) - ssh, irc, jabber, email, facebook, twitter,
> rss,
> >> > etc. Even with notifications. - google maps, youtube, music, Internet
> >> > radio, etc.
> >> >     - translations from among others google
> >> >     - webpages like, wikipedia, etc.
> >> >
> >> > No Voice over IP though, but I there is a hack to get root access on
> the
> >> > phone.
> >>
> >> And you can install Debian on it. We are testing this in OPENTIA right
> now...
> >
> > Please share the results
> >
> > --
> > Iván F. Villanueva B.
> >
> > _______________________________________________
> > Cafe mailing list
> > [email protected]
> > https://lists.ffii.org/mailman/listinfo/cafe
> >
>
> _______________________________________________
> Cafe mailing list
> [email protected]
> https://lists.ffii.org/mailman/listinfo/cafe
>
> ------- End of Forwarded Message
>
> _______________________________________________
> [email protected]
> http://codespeak.net/mailman/listinfo/pypy-dev
>
>


-- 
Jim Baker
[email protected]
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to