Stream: wasmtime

Topic: ẁasmtime-go component


view this post on Zulip Alessandro Lioi (Sep 19 2024 at 10:34):

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?

view this post on Zulip Joel Dice (Sep 19 2024 at 12:17):

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.

view this post on Zulip Alessandro Lioi (Sep 19 2024 at 12:18):

is there any plan/roadmap on supporting components?

view this post on Zulip Joel Dice (Sep 19 2024 at 14:39):

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