Pure Go WebAssembly Component Model runtime.
- Component Model with WIT type system and canonical ABI
- WASI Preview 2 (filesystem, sockets, HTTP, clocks, random, CLI)
- Pure Go asyncify transform for async host calls
- WAT text format compiler (no external tools)
- Built on wazero (zero dependencies runtime)
rt := runtime.New()
defer rt.Close(ctx)
mod, err := rt.LoadComponent(ctx, wasmBytes)
inst, err := mod.Instantiate(ctx)
defer inst.Close(ctx)
result, err := inst.Call(ctx, "greet", "World")See LICENSE.
This component has been AI generated.