Files
wazero/examples
Crypt Keeper 25493fe271 gojs: makes experimental status explicit (#1200)
Before, our README said gojs `GOOS=js compiled wasm` was experimental.
However, as we head to 1.0 we should be more explicit about that.

When we started gojs, there was no likely future where `GOOS=wasi` would
happen in the standard go compiler. This has changed, so we'll only keep
the gojs package around until wasi is usable for two Go releases. Being
in an experimental package helps others know to watch out for this.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-03-06 09:22:58 +08:00
..

wazero examples

The following example projects can help you practice WebAssembly with wazero:

  • allocation - how to pass strings in and out of WebAssembly functions defined in Rust or TinyGo.
  • assemblyscript - how to configure special imports needed by AssemblyScript when not using WASI.
  • basic - how to use both WebAssembly and Go-defined functions.
  • import-go - how to define, import and call a Go-defined function from a WebAssembly-defined function.
  • concurrent-instantiation - how to instantiate multiple Wasm instances per Goroutine concurrently.
  • multiple-results - how to return more than one result from WebAssembly or Go-defined functions.
  • multiple-runtimes - how to share compilation caches across multiple runtimes.
  • wasi - how to use I/O in your WebAssembly modules using WASI (WebAssembly System Interface).

Please open an issue if you would like to see another example.