Files
wazero/examples
Edoardo Vacchi c324c671d0 docs: add zig section (#1051)
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
2023-01-23 19:54:05 +09:00
..
2023-01-23 19:54:05 +09:00
2022-11-09 05:48:24 +01:00
2023-01-10 14:11:46 +09:00
2023-01-10 14:11:46 +09: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.
  • 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.