2 ms·
> it is very slow to compile Emscripten is amazing if you need a full POSIX environment in a web browser. Everything is emulated through Javascript calls. If
by jedisct1 4y ago
> it is very slow to compile
Emscripten is amazing if you need a full POSIX environment in a web browser. Everything is emulated through Javascript calls.
If you don't need that, or just need the WASI subset, you can simply use Zig to compile C/C++ code to WebAssembly ("zig cc -target wasm32-wasi"). Compilation is as fast as other targets.