github.com/bytecodealliance/wasmtime-go/v3 (go): Package wasmtime is a WebAssembly runtime for Go powered by Wasmtime.  This package provides everything necessary to compile and execute WebAssembly modules as part of a Go program. Wasmtime is a JIT compiler written in Rust, and can be found at https://github.com/bytecodealliance/wasmtime. This package is a binding to the C API provided by Wasmtime.  The API of this Go package is intended to mirror the Rust API (https://docs.rs/wasmtime) relatively closely, so if you find something is under-documented here then you may have luck consulting the Rust documentation as well. As always though feel free to file any issues at https://github.com/bytecodealliance/wasmtime-go/issues/new.  It's also worth pointing out that the authors of this package up to this point primarily work in Rust, so if you've got suggestions of how to make this package more idiomatic for Go we'd love to hear your thoughts!  An example of a wasm module which calculates the GCD of two numbers  An example of instantiating a small wasm module which imports functionality from the host, then calling into wasm which calls back into the host.
Keywords: go|golang|runtime|rust|wasi|wasm|wasmtime|webassembly