Open sroussey opened 9 months ago
I start thinking that for WASM support, we must change at least JS and Rust bindings to use the intermediate C layer, introducing ABI stability, and then simply shipping precompiled shared libraries for WASM. What do you think, @sroussey?
Can't ship anything that uses exceptions at the moment, at least with wasi. Quickly changing area, but still not there yet.
I am not sure about JavaScript WASM support yet, but CloudFlare recently posted an article about their Pyodide workers:
LLVM provides three target triples for WebAssembly:
Pyodide uses Emscripten, and provides three things:
I am thinking to update the setup.py
to support Emscripten and other compilers, and later upload the wheel to release notes.
WASM is arch independant, so no need to make for each arch. Will just build on linux.
Get mmap emulation working.
We need stdlib
To use like a library requires some
__attribute__
stuff in cpp and-mexec-model=reactor
in the build command.Still fails: