What languages are supported in WebAssembly running outside the browser? This is a question I often hear people ask. It’s has a complicated answer because:
- WebAssembly outside the browser needs WASI and not all languages have WASI support in their toolchain.
- Even if WASI is supported well in a language, WASI has its own limitations that you need to take into account.
In short, you can’t take any code written in any language and expect to compile and run it as a Wasm+Wasi module right now. Documentation on what’s supported is patchy or misleading at times. Unfortunately, you often need to try things out before knowing what works and what doesn’t.
Read More →