开发者

Dalvik VM vs Sun JVM [duplicate]

This question already has answers here: Closed 12 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜