Stream: wit-bindgen

Topic: Current state of the art


view this post on Zulip ShalokShalom (Jun 05 2025 at 22:36):

Hi there. With how much code and effort is currently the integration of WAMR bound?

When I want to add wasm support to a game engine, lets say.

view this post on Zulip Pat Hickey (Jun 06 2025 at 15:30):

WAMR doesn’t support the component model yet and I’m not aware of any efforts from their team on it. The efforts to add component model to wasmtime’s C API are progressing steadily, so that’s what I’d recommend using if you’re not able to use wasmtime in Rust directly

view this post on Zulip Gordon Smith (Jun 08 2025 at 11:30):

I have a partial c++ ABI host implementation which makes calling and exposing functions to guest components relatively straight forward (but somewhat manual), its a header only implementation and you can see a working sample here: https://github.com/GordonSmith/component-model-cpp/blob/trunk/samples/wamr/main.cpp
Obviously a work in progress (any help is appreciated...)

C++ ABI implementation of the WebAssembly Component Model - GordonSmith/component-model-cpp

view this post on Zulip Jakob Meier (jakmeier) (Jul 01 2025 at 16:50):

WAMR doesn’t support the component model yet and I’m not aware of any efforts from their team on it.

Is the component model fundamentally out of scope for WAMR as a micro runtime? Or is it more of a resource allocation questions, that could potentially be resolved with external contributions to WAMR?

view this post on Zulip Ralph (Jul 01 2025 at 17:28):

that's a question for the wamr channel, I think, but generally speaking the only things that inhibit any runtime are resources and timing. There are many other runtimes as well that do not yet implement components, so for all of them it will be a choice they make when they want to and when they have the resources to do so.


Last updated: Dec 06 2025 at 07:03 UTC