wasmexec

wasmexec is runtime-agnostic implementation of Go’s wasm_exec.js in Go. It currently has import hooks for wasmer, wasmtime and wazero. Each runtime-dedicated package has its own example of an implementation that can run any of the examples.

This implementation was made possible by allowing me to peek at mattn’s implementation as well as Vedhavyas Singareddi’s go-wasm-adapter.

NOTE: This implementation is still highly experimental. Please let me know what breaks in an issue with an example piece of code.

GitHub

View Github