News for hackers. Stuff that matters.
Re:The Emterpreter: Run asm.js code before it can be parsed by andrewchambers on Monday February 23, 2015 @03:40PM (#9096866)
Imo a stackbased bytecode has far better code density, which is probably pretty good for browsers.
Re:The Emterpreter: Run asm.js code before it can be parsed by beagle3 on Tuesday February 24, 2015 @11:17AM (#9101523)
.. 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.
Re:The Emterpreter: Run asm.js code before it can be parsed by CHY872 on Monday February 23, 2015 @08:30PM (#9098213)
Erm, it's a big tradeoff. You get better code density, but it takes longer to compile well and is slower to interpret.