News for hackers. Stuff that matters.
Re:Asm.js: a strict subset of js for compilers – working draft by kevingadd on Friday February 15, 2013 @01:22PM (#5227539)
It lets a cross-compiler like Emscripten (and theoretically more weird ones like JSIL, GWT, etc) generate JavaScript that can be jitted into code that has performance (and semantics) closer to native code.

So, for example, you can provide clear hints that value x should be an int32, value y should be a float, etc. And if you create a virtual heap out of a Typed Array, asm.js lets you ensure that the JIT maps uses of that array to direct memory accesses where possible (instead of bounds-checked array lookups).

There are no comments on this comment yet.