...

Text file src/github.com/tetratelabs/wazero/examples/README.md

Documentation: github.com/tetratelabs/wazero/examples

     1## wazero examples
     2
     3The following example projects can help you practice WebAssembly with wazero:
     4
     5* [allocation](allocation) - how to pass strings in and out of WebAssembly
     6  functions defined in Rust or TinyGo.
     7* [assemblyscript](../imports/assemblyscript/example) - how to configure
     8  special imports needed by AssemblyScript when not using WASI.
     9* [basic](basic) - how to use both WebAssembly and Go-defined functions.
    10* [import-go](import-go) - how to define, import and call a Go-defined function
    11  from a WebAssembly-defined function.
    12* [concurrent-instantiation](concurrent-instantiation) - how to instantiate multiple Wasm instances per Goroutine concurrently.
    13* [multiple-results](multiple-results) - how to return more than one result
    14  from WebAssembly or Go-defined functions.
    15* [multiple-runtimes](multiple-runtimes) - how to share compilation caches across multiple runtimes.
    16* [wasi](../imports/wasi_snapshot_preview1/example) - how to use I/O in your
    17  WebAssembly modules using WASI (WebAssembly System Interface).
    18
    19Please [open an issue](https://github.com/tetratelabs/wazero/issues/new) if you
    20would like to see another example.

View as plain text