Hacker News new | past | comments | ask | show | jobs | submit login

From the wasi.dev[0] front page:

> WASI can be implemented by both core Wasm modules and applications built according to the Component Model, a specification for Wasm applications that are interoperable and composable. You can learn more about components in the Bytecode Alliance's WebAssembly Component Model documentation[1].

[0]: https://wasi.dev/ [1]: https://component-model.bytecodealliance.org/




I thought that WASI and the component model were separate specs. Am I wrong?


WASIp2 implies component model. WASIp2 is implemented using component model.


I see, thank you. I'm trying to get up to speed with the whole ecosystem as I have a use case for it. I would like to interact with WASM components from a go binary, but it seems like wazero doesn't and won't support the component model anytime soon. The rust tooling seems more mature ATM :(


At some point Wazero will have to support component model, regardless of their opinion about it. Otherwise they will lose any relevance.

But I agree with you, the tooling is very immature.


It's not just a matter of opinion, but resource allocation.

WASI preview 1 was already a significant effort. It is the least polished bit of the wazero implementation, but even compared to: a spec compliant interpreter, two compilers and runtime, it weighs. It has some issues around filesystem sandboxing. And portability to “everywhere Go runs” is a pain.

Preview 2 is a significant departure, with little promise that preview 3 isn't another, ad nauseam. For a small team, that's hard to track.

Wasm 1.0 is a useful spec; Wasm 2.0 is still a draft. wazero supports everything final from 2.0 so far.

WASIp1 was useful too, but wazero is useful without WASI.

Until the dust settles, I'd rather wazero was reworked to make WASI even more pluggable from the outside (there are two impls already), than invest more resources in the WASI implementation itself.

Still, if anyone wants to fund fulltime work on this, I guess that can be arranged.


no it will not. Wazero will likely never do that.


Great, there are other Wasm runtimes to choose from.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: