An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/bytecodealliance/wasmtime-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.

Ecosystem
proxy.golang.org
Latest Release
v1.0.0
over 3 years ago
Versions
35
Dependent Packages
264
Dependent Repos
1,679
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/bytecodealliance/wasmtime-go
spec
License Apache-2.0
Namespace github.com/bytecodealliance
First Release almost 6 years ago
Last Synced about 4 hours ago
Repository
Stars 852 on GitHub
Forks 86 on GitHub
Docker Dependents 24
Docker Downloads 346,265,651
Commits 231
Committers 23
Avg per Author 10.043
DDS 0.212
Rankings on proxy.golang.org
Overall Top 1.3%
Dependent packages Top 0.3%
Dependent repos Top 0.2%
Forks Top 3.1%
Docker downloads Top 0.2%