asm.js is a subset of JavaScript that is very easy to optimize. Most often it is generated by a compiler, such as Emscripten, from C or C++ code. The result can run at very high speeds, close to that of the same code compiled natively. For that reason, Emscripten and asm.js are useful for things like 3D game engines, which are usually large and complex C++ codebases that need to be fast, and indee
![Massive: The asm.js Benchmark – Mozilla Hacks - the Web developer blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/8f043099b608abf8384b24171faa177d3698e62e/height=288;version=1;width=512/https%3A%2F%2Fhacks.mozilla.org%2Fwp-content%2Fthemes%2FHax%2Fimg%2Fhacks-meta-image.jpg)