4 ms·
> The primary optimization that ASM.JS brings is its static type system. Well, that and not having objects, user-defined types, closures, strings, polymorphism
by munificent 14y ago
> The primary optimization that ASM.JS brings is its static type system.
Well, that and not having objects, user-defined types, closures, strings, polymorphism, or even garbage collection. asm.js is fast because it's essentially BCPL, not just because it has a static type system.