You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the docs has a section for wasmtime and it only describes how to run a command component using wasmtime run. Another helpful section could be added to describe how to use wasmtime SDKs to run components programmatically. A good starting point would be the wasmtime rust SDK with component-model feature on.
The text was updated successfully, but these errors were encountered:
This would be super handy. @Mossaka@kate-goldenring do you think such an example should re-use the calculator from the tutorial?
Couple of weeks ago I built an sample that demonstrates how one could build an agnostic plugin-mechanism using the component model.
Basically, it is a super simple contract with guest implementations in Rust and JS (in my sample). The host application is a simple Rust CLI app, which iterates over .wasm files in a plugin directory and invokes the exported function.
Currently the docs has a section for wasmtime and it only describes how to run a command component using
wasmtime run
. Another helpful section could be added to describe how to use wasmtime SDKs to run components programmatically. A good starting point would be the wasmtime rust SDK withcomponent-model
feature on.The text was updated successfully, but these errors were encountered: