News for hackers. Stuff that matters.
Re:Simple Open-Source Java Virtual Machine in C by mjan22640 on Wednesday September 20, 2023 @12:51AM (#37580494)
~90% of the JVM instruction set are simple RISC instructions, the rest is object maintenance. Writting a JVM is like writting an emulator for a simple CPU/platform.
Re:Simple Open-Source Java Virtual Machine in C by ahoka on Wednesday September 20, 2023 @02:04AM (#37580879)
A simple CPU with a possibly different memory model than the host CPU.
Re:Simple Open-Source Java Virtual Machine in C by pjmlp on Wednesday September 20, 2023 @02:50AM (#37581160)
True until Java 7, not so with all the newer bytecodes.
Re:Simple Open-Source Java Virtual Machine in C by teleforce on Wednesday September 20, 2023 @03:03AM (#37581231)
It makes perfect sense at the time Sun is naming it JVM, apparently technically it's a VM. That meant they have had a valid claim to "write once, run anywhere" mantra. It's a shame that in reality it turned out later to be "write once, debug everywhere" kind of nightmare.