New answers tagged operating-systems
You are correct that there is a close relationship between VMs and Operating Systems. There is also a close relationship between those two and Programming Languages. In fact, one might argue that they are more or less the same thing! There is a famous quote by Daniel H. H. Ingalls from the Design Principles of Smalltalk: "an Operating System is a collection ...
How far can this be taken? Pretty far. You might want to check out jnode (Java New Operating system Design Effort) which is a full bare metal implementation of the JVM. Only about 500k of assembly, as a "nano-kernel," used in the boot process. Once the OS is running, all running code is actually java. Why is that we don't have a bare-metal implementation ...
Bare metal JVMs do (did?) exist, but never scaled enough in volume to fund enough development R&D to keep up with super high-volume mainstream processor implementations. An x86 (in a small nanometer process) or ARM ends up running a JVM faster and cheaper and using less power than a multi-Moores-law-generations-behind (thus, in big nanometer or micron ...
Hardware implementations of the JVM do exist, and there are a number to choose from. However, they aren't without some drawbacks. For one, you can't easily upgrade the machine if it's written in silicon.
There are "bare metal" machines based on virtual machines. Most recently, there have been various attempts at a Java Processor which would run a JVM (well, JM since its not virtual) in hardware. They do exist - though not in general purpose machines that we use, they more harken back to the original embedded idea that Java was born from. This harkens back ...
They don't work. Basically they're snake oil whose only function is to extract money from the gullible.
Top 50 recent answers are included