Skip to content

N21: wasm_plugin #613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 5, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions content/news/021/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,26 @@ 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 -->
Expand Down