Hacker News new | ask | show | jobs
by wgren 5877 days ago
That is basically what JIT is. Why reinvent the wheel when they can use the resources that has been poured into JVM research?
1 comments

Except they can't, really. Dalvik is completely unrelated to Hotspot or any other JVM out there. (Remember that Android doesn't run Java class files natively, it's first compiled into dex.)
Right you are jbellis. Had forgotten that Dalvik isn't just a small JVM but a completely different architecture (register based, etc).

But anyway, what nimrody suggested is what they are doing - using platform neutral Dalvik bytecode and then transition to native through JIT.