3 ms·
A jvm on top of one of those sounds like a sweet machine. Was this ever tried? I know close to nothing of chip design or Hardcore low level code optimization,
by gcb0 13y ago
A jvm on top of one of those sounds like a sweet machine. Was this ever tried?
I know close to nothing of chip design or Hardcore low level code optimization, but the stack style described here seems like a good match to jvm...
- cfallin 13y agoI think while interesting, the semantic gap is probably too large. E.g. the machine stores machine words on the stack, but the JVM stores Java values. And the instruction set of the JVM is much richer, and it knows about many more concepts (types, classes, objects, boxing/unboxing, ...). So you'll have a significant translation layer anyway. If you have to pay that cost, then doing register allocation onto a conventional set of registers is probably cheap in comparison. And you want the conventional machine for its much, much higher performance.
- DannyBee 13y agoThere were actually Java processors, and a whole bunch of them http://en.wikipedia.org/wiki/Java_processor http://en.wikipedia.org/wiki/Java_processor