proxy.golang.org : github.com/bytecodealliance/wasmtime-go/v30
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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/bytecodealliance/wasmtime-go/v30
Keywords:
go
, golang
, runtime
, rust
, wasi
, wasm
, wasmtime
, webassembly
License: Apache-2.0
Latest release: 2 months ago
First release: 2 months ago
Namespace: github.com/bytecodealliance/wasmtime-go
Stars: 811 on GitHub
Forks: 82 on GitHub
Total Commits: 231
Committers: 23
Average commits per author: 10.043
Development Distribution Score (DDS): 0.212
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago