News for hackers. Stuff that matters.
Re:Bringing Asm.js to Chakra and Microsoft Edge by TazeTSchnitzel on Thursday May 07, 2015 @03:26PM (#9507622)
> One of the main things is ahead-of-time (AOT) compilation which compiles the asm.js code directly to assembly immediately after it's parsed. This gives you predictability (you literally get warnings in the console if it couldn't compile), which is really big for comprehending performance.

Related, and you've sort of mentioned this: having your browser be able to validate asm.js is useful for web developers, because then they know if their code is broken (and so will run slower).

Re:Bringing Asm.js to Chakra and Microsoft Edge by s-macke on Friday May 08, 2015 @04:32AM (#9510552)
Exactly. When I ported my software manually, it was the warning messages that helped. After that I can remove the "asm.js" statement and achieve almost the same performance (around 80% of max speed).

asm.js runs currently through an foreign function interface in Firefox, which makes calling the asm.js code slower.