>
> 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.
 
 

-- 
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

Reply via email to