Go runtime

Go WASM runtime built with TinyGo

Kumar Anirudha

Table of content
  1. At a glance
  2. Capabilities
  3. Limitations
  4. Install
  5. Use from Rust

At a glance

Compiler TinyGo 0.34.0
Target wasm32-wasip1
Available versions 1.23
Binary size ~261 KB (post wasm-opt -O3)
License BSD-3-Clause (Go), BSD-3-Clause (TinyGo)
Source https://go.dev/

Capabilities

Limitations

Install

wasmhub get go 1.23

Use from Rust

use wasmhub::{RuntimeLoader, Language};

let loader = RuntimeLoader::new()?;
let go = loader.get_runtime(Language::Go, "1.23").await?;
// Pass go.path to your WASM runtime