News for hackers. Stuff that matters.
Re:Is WebAssembly the Return of Java Applets and Flash? by Sean1708 on Thursday July 26, 2018 @09:41AM (#17617391)
WASM and JS are both JIT compiled in all major browsers which means that they compile to the same kind of native code that C and C++ do, they just do so as the program is running rather than in advance.
Re:Is WebAssembly the Return of Java Applets and Flash? by Andrex on Thursday July 26, 2018 @11:58AM (#17618460)
What's even better about WASM than JS in this case is that it can be compiled as it is being loaded. With JS, the entire file needs to be downloaded before being executed, but that's not the case for WASM, resulting in even more performance improvements.

https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...