node-wasi
node-wasi copied to clipboard
Using node-wasi on the WebAssembly waterfall
I've been working on a similar affort to support wasi in JS. Currently we use it to test generated wasm modules on the WebAssembly waterfall:
https://github.com/WebAssembly/waterfall/blob/master/src/wasi.js
https://wasm-stat.us/console
I was previously unaware of this effort but it looks similar enough that it would probably make sense to us to combine efforts.
oh very nice! we're actually integrating this module into node.js itself, so you might want to wait until we finish that.
check out https://github.com/nodejs/node/pull/27850 for tracking.
I'm planning to merge it once I finish up the last few bugs here.
Oh wow! Thats exciting. Would it not make sense to wait for wasi to stabilize though? Baking wasi_unstable into node seems a little early no?
it's behind a flag, and also has "unstable" in the name. from a development perspective we do this quite often, and releases of node will just have the experimental feature in whatever state it was at when that version was cut.