Dalvik VM vs Sun JVM [duplicate]
Possible Duplicate:
What can you not do on the Dalvik VM (Android’s VM) that you can in Sun VM?
What ever interviews i have faced.In every interview when interviewers come on android topic they ask this question. "what is the difference between Dalvik VM vs Sun JVM?". i have given some answers like. What can you not do on the Dalvik VM (Andro开发者_开发知识库id's VM) that you can in Sun VM?
but i think they wanted more.
Are you sure they're not referring to the differences in the APIs? I mean both JVMs are turing complete, so basically they can do the same things.
One internal difference is that the sun JVM is stack-based, while Dalvik is register based. (It has an infinite number of registers though.) But that doesn't really explain what you can/can't do on it.
精彩评论