Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: comp.lang.java.programmer Subject: Re: Android?Why Dalvik? Date: Mon, 30 May 2011 15:25:52 -0400 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 30 May 2011 19:25:55 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="bAymlyY9SkaJNa8Tz2rerw"; logging-data="444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wDVn5hWAh7bwpiXQkwexX1vWegzMgnvU=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16pre) Gecko/20110305 Lightning/1.0b3pre Thunderbird/3.1.10pre In-Reply-To: Cancel-Lock: sha1:vkrZX/PAJYTzmJYJvfwOdsnH2KE= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4741 On 05/30/2011 06:26 AM, BGB wrote: > C source code generally doesn't need to change that much between one > target and another (after all, most variations in OS and architecture > can be trivially handled via #ifdef magic). I laugh at anyone who thinks this. If you do anything with a GUI, file access beyond "open this file and read/write it", networking, multithreading, you WILL run into nontrivial portability issues. Heck, even porting 32-bit code to a 64-bit target of an otherwise identical system is often nontrivial for any decently sized project. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth