3 ms·
I was never clear on how a Java bytecodes would be implemented on a register-based CPU. Efficiently. The JVM is stack-based, right? So it'd be an interpreter (
by specialist 3y ago
I was never clear on how a Java bytecodes would be implemented on a register-based CPU. Efficiently.
The JVM is stack-based, right? So it'd be an interpreter (in microcode)? Unless there's some kind of "virtual" stack, as spec'd for picoJava.
I'm less clear on how Jazelle would implement only a subset of the bytecodes.
Am noob. And a quick scholar search says the relevant papers are paywalled. Oh well; now it's just a curiosity.
Stack-based CPUs are cool, right? For embedded. Super efficient and cheap, enough power for IoT or secure enclaves or whatever.
But it seems that window of opportunity closed. Indeed, if it was ever open.