Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.02; 'stuff.': 0.05; 'subject:Python': 0.05; 'files.': 0.09; 'am,': 0.12; 'bytecode': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'jython': 0.16; 'ported': 0.16; 'wrote:': 0.18; 'converted': 0.18; 'loading': 0.18; 'java,': 0.19; 'compiled': 0.21; 'header:In-Reply-To:1': 0.22; 'similarly': 0.23; 'byte': 0.24; 'compatible': 0.26; 'fact': 0.27; 'says': 0.27; 'code,': 0.28; 'class': 0.29; 'subject:]: ': 0.30; 'changes': 0.30; 'message-id:@gmail.com': 0.31; 'subject:?': 0.31; 'does': 0.32; 'header:User-Agent:1': 0.33; 'curious': 0.34; 'to:addr :python-list': 0.35; 'received:org': 0.36; 'run': 0.37; 'but': 0.37; 'received:192': 0.38; 'could': 0.38; 'think': 0.38; 'files': 0.39; 'to:addr:python.org': 0.40; 'making': 0.64; 'here.': 0.64; 'android': 0.66; '10:38': 0.84; 'edwards': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 16 Feb 2012 18:45:15 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16 MIME-Version: 1.0 To: python-list@python.org Subject: Re: [semi OT]: Smartphones and Python? References: <9q2kj3Fmq1U1@mid.individual.net> <21549161.0.1329359932765.JavaMail.geo-discussion-forums@pbia1> <9616539.5.1329403988795.JavaMail.geo-discussion-forums@pbt3> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329443125 news.xs4all.nl 6923 [2001:888:2000:d::a6]:35325 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20532 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.