3 ms·
The way I understand it, WebAssembly is faster because you skip the parsing of JavaScript. If parsing JavaScript is not a bottleneck in your app, it's not going
by labrador 4y ago
The way I understand it, WebAssembly is faster because you skip the parsing of JavaScript. If parsing JavaScript is not a bottleneck in your app, it's not going to be faster. I'm also under the impression that people want it because they can use a language other than JavaScript.
I could be wrong, but that's my going by 60 mph, looking out the window view
- tines 4y agoNot quite; if this were true then any javascript would be valid webassembly, which isn't the case.
- labrador 4y agoI was excluding the parts of JavaScript that don't compile to WebAssembly, dom manipulation for example
- aboodman 4y agoNo parts of JavaScript compile to WebAssembly.
- labrador 4y agoInteresting. That was a out-of-date misunderstanding on my part. I thought it was a binary JS AST. Thanks for the comment instead of just a negative vote https://yoric.github.io/post/binary-ast-newsletter-1/ https://yoric.github.io/post/binary-ast-newsletter-1/