4 ms·
Imo a stackbased bytecode has far better code density, which is probably pretty good for browsers.
by andrewchambers 12y ago
Imo a stackbased bytecode has far better code density, which is probably pretty good for browsers.
- CHY872 12y agoErm, it's a big tradeoff. You get better code density, but it takes longer to compile well and is slower to interpret.
- beagle3 12y ago.. at a significant cost to execution speed, experience shows. The fastest interpreted "general purpose" language is apparently Lua, which switched from stack to registers to get that speed a while ago.