4 ms·
Java's HotSpot is a stack machine, AFAIK. Dalvik is a register machine, but I wouldn't want to point to that as a positive. ;)
by eropple 14y ago
Java's HotSpot is a stack machine, AFAIK. Dalvik is a register machine, but I wouldn't want to point to that as a positive. ;)
- pbiggar 14y agoInternally, Hotspot doesn't use a stack representation. It converts it to an IR (internal representation) which is not stack based, which is my point. See Fig 2 from http://www-leland.stanford.edu/class/cs343/resources/java-hotspot.pdf http://www-leland.stanford.edu/class/cs343/resources/java-ho...
- eropple 14y agoHuh, so it's not. Thanks for the interesting read!