2 ms·
> Additionally if you're compiling a language to wasm, you're also at the mercy of that compiler as well, so it always depends. and potentially runtime, depend
by tmzt 9y ago
> Additionally if you're compiling a language to wasm, you're also at the mercy of that compiler as well, so it always depends.
and potentially runtime, depending on the language you are compiling from
- dangerbird2 9y agoMost wasm toolchains use clang for c/c++, so poor compiler generation is rarely a significant issue. IIRC, the emscripten toolchain uses musl as the C runtime, which is reasonably performant runtime. Of course, if you write algorithmically inefficient code, no toolchain is going to improve it.