{"repo":"bytecodealliance/wasmtime-go","free":true,"listed":false,"github":"https://github.com/bytecodealliance/wasmtime-go","clone":"git clone https://github.com/bytecodealliance/wasmtime-go.git","description":"Go WebAssembly runtime powered by Wasmtime","language":"Go","stars":911,"topics":["wasmtime","rust","wasm","webassembly","go","wasi","golang","runtime"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"wasmtime-go Go embedding of Wasmtime A Bytecode Alliance project Installation Be sure to check out the [API documentation][api]! This Go library uses CGO to consume the C API of the [Wasmtime project][wasmtime] which is written in Rust. Precompiled binaries of Wasmtime are checked into this repository on tagged releases so you won't have to install Wasmtime locally, but it means that this project only works on Linux x86\\ 64, macOS x86\\ 64 , and Windows x86\\ 64 currently. Building on other platforms will need to arrange to build Wasmtime and use CGO env vars to compile correctly. This project has been tested with Go 1.13 or later. [api]: https://pkg.go.dev/github.com/bytecodealliance/wasmtime-go/v47 [wasmtime]: https://github.com/bytecodealliance/wasmtime If you are a bazel user, add following to your WORKSPACE file: Usage A \"Hello, world!\" example of using this package looks like: Contributing So far this extension has been written by folks who are primarily Rust programmers, so it's highly likely that there's some faux pas in terms of Go idioms. Feel free to send a PR to help make things more idiomatic if you see something! To work on this extension locally you'll first want to clone the project: Next up you'll want to have a local Wasmtime build available. You'll need to build at least the wasmtime-c-api crate, which, at the time of this writing, would be: Once you've got that you can set up the environment of this library with: This will create a build directory which has ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bytecodealliance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bytecodealliance/wasmtime-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}