#Javascript closer to native with #asm.js

Oscar Brito


What is asm.js:


asm.js aims to be a subset of the JavaScript language that can be highly optimized after you have opted in.
It is designed mostly for compilers like Emscripten to target, but the best part is that it’s backwards compatible with the existing JS syntax since it is a strict subset.
A combination of static and dynamic validation allows JavaScript engines to employ an ahead-of-time (AOT) optimizing compilation strategy for valid asm.js code.

function MyAsmModule() {

"use asm";
"use strict";

...

}

LINK:
http://badassjs.com/post/43420901994/asm-js-a-low-level-highly-optimizable-subset-of
http://asmjs.org/spec/latest/




Visit www.divhide.com for more informations, contacts and news about Web Development.
See other blog posts at blog.divhide.com.



Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.


Feel free to contact divhide.