8000 N21: wasm_plugin (#613) · r4gus/rust-gamedev.github.io@38fb676 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38fb676

Browse files
authored
N21: wasm_plugin (rust-gamedev#613)
1 parent 7b17bd9 commit 38fb676

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/news/021/index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,26 @@ See it in action on [YouTube][chip-8-rs-video].
601601
[chip-8-rs]: https://github.com/JonathanMurray/chip-8-rs
602602
[chip-8-rs-video]: https://youtu.be/nVDJ5PZpPfI?t=72
603603

604+
### [wasm_plugin]
605+
606+
[wasm_plugin][wasm_plugin] by @alec-deason is a
607+
low-ish level tool for easily hosting WASM based plugins for modding or scripting.
608+
609+
The latest version now supports calling host functions from the plugin and more
610+
flexible serialization which allows plugins to be written in languages other
611+
than Rust.
612+
613+
It consists of two crates:
614+
615+
- [wasm_plugin_host] which wraps a wasmer instance with methods for calling
616+
functions on the guest plugin.
617+
- [wasm_plugin_guest] which provides an attribute macro to easily import and
618+
- export functions to the host.
619+
620+
[wasm_plugin]: https://github.com/alec-deason/wasm_plugin
621+
[wasm_plugin_host]: https://lib.rs/crates/wasm_plugin_host
622+
[wasm_plugin_guest]: https://lib.rs/crates/wasm_plugin_guest
623+
604624
## Popular Workgroup Issues in Github
605625

606626
<!-- Up to 10 links to interesting issues -->

0 commit comments

Comments
 (0)
0