On Nov 13, 2:13 pm, Neil Bartlett <[EMAIL PROTECTED]> wrote:
> Android uses the Dalvik VM, which is a register-based VM whereas JVM
> is stack-based.
> ...
> The reason for the custom VM is that Dalvik is optimized to allow
> multiple instances of the VM to run simultaneously even in little
> memory. Each Android application runs in a separate Linux process.

That's actually very interesting. I think that the main reason for
that is ahead-of-time optimization, since JIT is expensive and
unpredictable where efficient execution is needed on limited
resources. Dynamic languages won't benefit from this optimization as
much as static ones, for them dynamic analysis is actually more
beneficial.

E. Kabanov


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" 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/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to