Stream: general

Topic: WASI-based plugins


view this post on Zulip bachrc (Sep 08 2022 at 21:28):

Hello ! I didn't found any documentation on how to make a WASI Interface for making plugins on WebAssembly.
Like, I have a soft on Rust, people must implement a WebAssembly interface in order to plug in my program, in what does wasi consist ?

view this post on Zulip Dan Gohman (Sep 09 2022 at 00:39):

https://docs.wasmtime.dev/examples.html has some examples of how to expose APIs to plugins.

view this post on Zulip bachrc (Sep 12 2022 at 14:54):

Thanks a lot, this page in particular will be really helpful! (https://docs.wasmtime.dev/examples-rust-wasi.html)

view this post on Zulip Steve Manuel (Sep 13 2022 at 18:19):

just to add here -- i've been working on a plugin specific runtime (which uses wasmtime!) that should simplify a lot of the work a plugin system requires for both the embedder and the plugin authors. @bachrc if you haven't already completed your integration and don't mind _very new_ projects, take a look at https://extism.org -- its all open source, so maybe there are some pieces of it that help if you don't end up using it directly.


Last updated: Dec 23 2024 at 12:05 UTC