[pypy-dev] How hard would it be to generate PyPy for the Dalvik Virtual Machine?
jbaker at zyasoft.com
Wed Apr 22 17:22:06 CEST 2009
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.
On Wed, Apr 22, 2009 at 2:24 AM, Laura Creighton <lac at openend.se> wrote:
> This showed up on another list I read.
> ------- Forwarded Message
> From: Roland Orre <roland.orre at gmail.com>
> Date: Wed, 22 Apr 2009 10:05:15 +0200
> To: cafe at ffii.org
> Subject: Re: [Cafe] android g1
> X-BeenThere: cafe at ffii.org
> 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
> 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
> 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
> The current ARM chip is claimed to have hardware support for JVM
> though, even though Android should not be platform dependent of
> Any opinion about the JVM - DalvikVM issue?
> On Wed, Apr 22, 2009 at 08:39, Ivan F. Villanueva B. <ivan at ffii.org>
> > [moved to cafe@]
> > 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
> >> > operating system Android. Maybe interesting to check if they call it
> >> > and related issues.
> >> >
> >> > Anyway, It seems the mobile Market will boom soon, with all the
> >> > applications, and Java will be very important again. I have an Android
> >> > 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
> >> > have: - no need for backups, everything is synchronized with your
> >> > account (which is of course not nice for privacy issues, but it works
> >> > without doing anything) - ssh, irc, jabber, email, facebook, twitter,
> >> > 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
> >> > phone.
> >> And you can install Debian on it. We are testing this in OPENTIA right
> > Please share the results
> > --
> > Iván F. Villanueva B.
> > _______________________________________________
> > Cafe mailing list
> > Cafe at ffii.org
> > https://lists.ffii.org/mailman/listinfo/cafe
> Cafe mailing list
> Cafe at ffii.org
> ------- End of Forwarded Message
> pypy-dev at codespeak.net
jbaker at zyasoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pypy-dev