wasm/

directory
v4.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT

README

Benthos WASM Plugins

In this directory are libraries and examples tailored to help developers create WASM plugins that can be run by the Benthos wasm processor. It's possible to write WASM plugins in any language that compiles to a WASM module. However, given the complexity in passing allocated memory between the module and the host process it's much easier to use the libraries provided here as the basis for your plugin.

Most of these are adapted from the fantastic range of examples provided by the Wazero library. Our goal is to eventually provide libraries and examples for all popular languages and we'll be tackling them one at a time based on demand. Please be patient but also make yourself heard.

Directories

Path Synopsis
Package tinygo provides entry points that allow WASM modules compiled with TinyGo to be executed by Benthos using the `wasm` processor.
Package tinygo provides entry points that allow WASM modules compiled with TinyGo to be executed by Benthos using the `wasm` processor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL