Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!.POSTED!not-for-mail From: Steve Sobol Newsgroups: comp.lang.java.programmer Subject: Re: Android?Why Dalvik? Date: Wed, 1 Jun 2011 17:43:05 -0700 Organization: Glorb Internet Services, http://www.glorb.com Lines: 33 Message-ID: References: NNTP-Posting-Host: xoAFiuXnRqdiUJrjkwExXQ.user.posting2.glorb.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Thu, 2 Jun 2011 00:43:14 +0000 (UTC) User-Agent: MicroPlanet-Gravity/3.0.4 X-Notice: Scanned by Mr. Bill Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4871 In article , Lawrence D'Oliveiro says... > > In message , Joshua Cranmer wrote: > > > On 05/31/2011 11:05 PM, Lawrence D'Oliveiro wrote: > > > > Funny. I thought C/C++ was supposed to be portable. > > C certainly is. ?Write once, run everywhere? is more true of C than it is of > Java; a portable compiler like GCC means C is the most portable language in > the world. Well, technically, you still have to have a gcc compiler available for your platform, but gcc *is* available on every popular platform *I* can think of. More importantly, you have to rebuild from source each time you deploy your app to a new platform. You don't, with Java. > > With Java, it doesn't matter which compiler I use to link the binary, they > > all the do same thing. Even if I don't program my code in Java. ;-) > > > > Java has extreme ABI portability--any compiler, any OS, any arch. > > At the cost of putting the burden on the recipient of your code to figure > out how to run a .jar file on their system. Nope. Batch files and shell scripts work just fine, and it's easy enough to include one with your app. Or you can create a native executable stub. -- Steve Sobol - Programming/WebDev/IT Support sjsobol@JustThe.net