Peter Webb wrote: >> jamb wrote: > And I still submit my question: why Java? Or rather, why a virtual machine >> built on top of Linux, rather than Linux itself?? >> > > Several reasons: > > 1. Hardware portability. iOS runs on tightly defined hardware. Android is > designed to be able to run on different CPUs and hardware architectures. > The VM makes this possible > > 2. The VM implements a huge number of standard classes (effectively J2ME); > trying to recreate these natively on top of Linux would be a nightmare for > every developer. > > 3. There are a lot of Java libraries and Java programmers out there, and > these are typically quite portable. > > 4. Real life Java programs are basically mostly calls to J2xx class > libraries where the heavy lifting is done. The performance of the Java code > itself is seldom an issue, as the real work is done in these native > libraries. > > > 5. Pragmatics: Java is a suitable language for application development, encompassing as it does concurrent programming, straightforward syntax, comprehensive standard library and reasonable idioms for all sorts of stuff important to application development. Plus it has a highly critical constituency, keeping it honest. As for the advantage of portability that Peter mentioned, that's an advantage because your attention as an app developer is on app ontologies, not OS ontologies.
-- Lew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

