4 ms·
Webassembly is basically a portably assembly language (as in, lower level than C), that then gets translated instruction for instruction into actual assembly la
by Mikeb85 11y ago
Webassembly is basically a portably assembly language (as in, lower level than C), that then gets translated instruction for instruction into actual assembly language.
It's several layers 'below' JavaScript. It's basically cross-platform, native code.
- acqq 11y agoAnd moreover, the resulting native code is executed inside the same VM that executes normal Javascript, so it's not anything like starting some Flash file, it's just that we can have native code speed, when needed, inside of the Javascript. That existed already with asm.js. This step now should allow less overhead in parsing such code, which matters when there is a lot of code like in the games or big programs directly translated from lower-language code base. Less overhead means less battery drain and faster start of the program, as an example.