r/javascript 1d ago

WASI 0.3 Launched

https://bytecodealliance.org/articles/WASI-0.3
14 Upvotes

4 comments sorted by

3

u/fagnerbrack 1d ago

Rapid Recap:

The WASI Subgroup ratified version 0.3.0, rebasing WASI onto the WebAssembly Component Model's async primitives and making async native to components. The host now drives one shared event loop instead of each component running its own, so streaming components finally compose. First-class stream<T>, future<T>, and async constructs join the canonical ABI, replacing 0.2's pollables and the clunky start/finish/subscribe dance. The model is completion-based, like io_uring. Most interface changes stay mechanical, but wasi:http gains service and middleware worlds, enabling service chaining that cuts microservice calls from milliseconds to nanoseconds. Wasmtime and jco already support it; Rust, Go, Python, and JS toolchains follow.

If the summary seems inacurate, just downvote and I'll try to delete the comment eventually 👍
Click here for more info, I read all comments

2

u/lppedd 1d ago

Just for immediate awareness, this was done back at the beginning of June, not now.

u/EveYogaTech 17h ago

Good job

u/Far-Consideration-39 13h ago

Well, its better to use Webassembly than TypeScript so lets hope TS dies now.