From 98500f62ada4141c234dc223357d8e6b022a2472 Mon Sep 17 00:00:00 2001 From: Alec Deason <alec-deason@users.noreply.github.com> Date: Wed, 5 May 2021 09:52:57 -0700 Subject: [PATCH 1/3] Added section about wasm_plugin's latest release --- content/news/021/index.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/content/news/021/index.md b/content/news/021/index.md index e303a4d89..1ee0cd31d 100644 --- a/content/news/021/index.md +++ b/content/news/021/index.md @@ -581,6 +581,27 @@ See it in action on [YouTube][chip-8-rs-video]. [chip-8-rs]: https://github.com/JonathanMurray/chip-8-rs [chip-8-rs-video]: https://youtu.be/nVDJ5PZpPfI?t=72 + +### [wasm_plugin] + +[wasm_plugin][wasm_plugin] by @alec-deason is +low-ish level tool for easily hosting WASM based plugins for modding or scripting. + +The latest version now supports calling host functions from the plugin and more +flexible serialization which allows plugins to be written in languages other +than Rust. + +It consists of two crates: + +- [wasm_plugin_host] which wraps a wasmer instance with methods for calling + functions on the guest plugin. +- [wasm_plugin_guest] which provides an attribute macro to easily import and +- export functions to the host. + +[wasm_plugin]: https://github.com/alec-deason/wasm_plugin +[wasm_plugin_host]: https://lib.rs/crates/wasm_plugin_host +[wasm_plugin_guest]: https://lib.rs/crates/wasm_plugin_guest + ## Popular Workgroup Issues in Github <!-- Up to 10 links to interesting issues --> From 06abf52b1a656da2347f5796368ab45928130f15 Mon Sep 17 00:00:00 2001 From: Alec Deason <alec-deason@users.noreply.github.com> Date: Wed, 5 May 2021 10:01:01 -0700 Subject: [PATCH 2/3] Remove an extra line return --- content/news/021/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/news/021/index.md b/content/news/021/index.md index 1ee0cd31d..1425f6faf 100644 --- a/content/news/021/index.md +++ b/content/news/021/index.md @@ -581,7 +581,6 @@ See it in action on [YouTube][chip-8-rs-video]. [chip-8-rs]: https://github.com/JonathanMurray/chip-8-rs [chip-8-rs-video]: https://youtu.be/nVDJ5PZpPfI?t=72 - ### [wasm_plugin] [wasm_plugin][wasm_plugin] by @alec-deason is From 2643961caffe6f341039cc1ab1e47b9f8543809a Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Wed, 5 May 2021 23:41:02 +0100 Subject: [PATCH 3/3] Update content/news/021/index.md --- content/news/021/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/news/021/index.md b/content/news/021/index.md index 1425f6faf..248684deb 100644 --- a/content/news/021/index.md +++ b/content/news/021/index.md @@ -583,7 +583,7 @@ See it in action on [YouTube][chip-8-rs-video]. ### [wasm_plugin] -[wasm_plugin][wasm_plugin] by @alec-deason is +[wasm_plugin][wasm_plugin] by @alec-deason is a low-ish level tool for easily hosting WASM based plugins for modding or scripting. The latest version now supports calling host functions from the plugin and more