Stream: wasmtime

Topic: Running WASM Components with wasmtime-go


view this post on Zulip João Fernandes (Feb 16 2025 at 23:26):

Hi everyone. I would like to run WASM Components in a golang app. Am I right to say that's not yet possible with wasmtime-go? There's a NewModuleFromFile method that throws an error when attempting to load a component, stating clearly that it expects a module and not a component.

view this post on Zulip Victor Adossi (Feb 18 2025 at 15:22):

Currently it looks like wasmtime-go's component support isn't there yet as the underlying CGO based support hasn't landed yet:

https://github.com/bytecodealliance/wasmtime-go/issues/204

The issue you can follow in wasmtime is here:

https://github.com/bytecodealliance/wasmtime/issues/8036

Missing V15 features.component_model in config. Where can I find component_model, thanks for the tip.
Feature Expose the component model in the C API for other languages than Rust. Benefit Components in all the languages! (on the host side) Implementation I have a POC I created here with some feedb...

view this post on Zulip Victor Adossi (Feb 18 2025 at 15:30):

Any help is always welcome and appreciated of course!


Last updated: Feb 27 2025 at 23:03 UTC