> I don’t know if anyone’s written a static linker yet, but it’s an obvious next step.
Essentially just wasm-merge [0].
> However, just like with native code, there will be problems with different languages having different representations of strings, arrays, etc.,
This is the biggest hurtle. Someone needs to provide a WASM interface for backends to implement and frontends to target that provides a minimal stdlib. Until then, it's libc and posix by way of emscripten.
Essentially just wasm-merge [0].
> However, just like with native code, there will be problems with different languages having different representations of strings, arrays, etc.,
This is the biggest hurtle. Someone needs to provide a WASM interface for backends to implement and frontends to target that provides a minimal stdlib. Until then, it's libc and posix by way of emscripten.
0 - https://github.com/WebAssembly/binaryen/pull/919