I'm trying to run a Wasm component (created using componentize-py
using the wasmtime-go
library for Golang.
I have seen that in the rust crate, there is a configuration for components (that is under the component-model
feature). but I can't seem to find this option in the Golang library.
Can this be done?
AFAIK, wasmtime-go does not yet have component support since it is based on the wasmtime C API, which, unlike the Rust API, does not yet support components. Same is true for the .NET, Ruby, and C++ embeddings. wasmtime-py does have limited component support, but that was written from scratch in Python on top of wasmtime's core wasm API rather than using its native component support.
is there any plan/roadmap on supporting components?
Not as far as I know. A Wasmtime C API (which would be the basis for e.g. wasmtime-go
component support) is something people ask for quite frequently, but nobody has volunteered to do it yet, unfortunately.
Last updated: Dec 23 2024 at 14:03 UTC