3 ms·
JS imposes a memory/object model that doesn't map to other languages particularly well, so you either have to play fast and loose with semantics (effectively cr
by int_19h 9y ago
JS imposes a memory/object model that doesn't map to other languages particularly well, so you either have to play fast and loose with semantics (effectively creating a dialect of the language that you're transpiling), or pay extra overhead for faithfully emulating the original behavior.
WASM is much lower level, and should allow compilers and VMs to use best-fitting data structures and layout.