|
|
|
|
|
by buu700
3131 days ago
|
|
The plan for emscripten is actually to replace its own wasm compiler with LLVM, and possibly drop its asm.js compiler in favor of running wasm2asm on LLVM's wasm output: https://github.com/kripken/emscripten/issues/5827 Aside from keeping emscripten's code smaller / more maintainable and allowing the team to focus more on its role as high-level tooling, this should improve the size and performance of emscripten output since IIRC it's currently missing out on a lot of optimization opportunity by producing wasm as transpiled asm.js. |
|
That's actually not true: the asm.js => wasm path emits better code (smaller, faster) than the wasm backend path currently.
However, the wasm backend path is being improved, and should eventually get to parity.