Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's actually kind of been done before, at the CPU level as opposed to the OS though:

https://en.m.wikipedia.org/wiki/Java_processor



These are for traditional, stack-based JVM bytecode. But as I understand after having spent way too much time lately poking around and modifying .smali disassembly of other people's apps, Dalvik (Android JVM) bytecode was initially designed to map more-or-less directly to actual CPU registers to be easily JIT-able.

But then I don't think garbage collection can be done purely in hardware. You still have to have something resembling a runtime, and it has to be written in a lower level language.


Woah I had heard about the Jazelle instruction in arm, but full on JVM on the CPU! Thanks for the info




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: