github.com/tetratelabs/wazero (go): This is an example of how to extend a Go application with an addition function defined in WebAssembly.  Since addWasm was compiled with TinyGo's `wasi` target, we need to configure WASI host imports.  A complete project that does the same as this is available here: https://github.com/tetratelabs/wazero/tree/main/examples/basic   This is a basic example of using the file system compilation cache via wazero.NewCompilationCacheWithDir. The main goal is to show how it is configured.   This is a basic example of retrieving custom sections using RuntimeConfig.WithCustomSections.   This example shows how to configure an embed.FS.
Keywords: ahead-of-time|compiler|go|golang|jit|runtime|vm|wasi|wasm|webassembly