by mises · 7y ago · 0 comments
It might just be me, but I don't think this is what the parent comment said.
E. g. WASM stack local variables and globals are statically validated. Compiler can translate loads and stores to locals and globals to simple movs. There are no additional runtime checks, no overhead. Unlike linear memory.
It sure looks like a language to me, like some sort of assembly language.
https://webassembly.org/getting-started/advanced-tools/
https://developer.mozilla.org/en-US/docs/WebAssembly/Text_fo...
granted this is a textual representation (very useful in certain circumstances) but that is semantics. Having done plenty of assembly, I don't see a huge distinction here.
Also, this is not "JITed bytecode", it is compiled AOT.
PNaCL died in favour of WebAssembly due to politics.
With Chrome today's might, the decision would most likely be a different one.