6 ms·
That is basically what JIT is. Why reinvent the wheel when they can use the resources that has been poured into JVM research?
by wgren 16y ago
That is basically what JIT is. Why reinvent the wheel when they can use the resources that has been poured into JVM research?
- jbellis 16y agoExcept 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.)
- wgren 16y agoRight 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.