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.
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
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...)
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?
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