3 ms·
WASIp2 implies component model. WASIp2 is implemented using component model.
by 4ad 2y ago
WASIp2 implies component model. WASIp2 is implemented using component model.
- jcmfernandes 2y agoI 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 :(
- 4ad 2y agoAt 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.
- nilslice 2y agono it will not. Wazero will likely never do that.
- 4ad 2y agoGreat, there are other Wasm runtimes to choose from.
- ncruces 2y agoIt'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.