|
|
|
|
|
by TazeTSchnitzel
4058 days ago
|
|
> 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). |
|
asm.js runs currently through an foreign function interface in Firefox, which makes calling the asm.js code slower.