fyr.jsPreparing the runtime
← All examples

Example

Rust + WASM

Load a WebAssembly binary and call its exported functions.

WasmLoaderNative exportsPerformance work

Rust + WASM

This guided example is represented in the site source and linked from the framework repository.
const module = await loader.load("engine", "/engine.wasm");
const instance = await WebAssembly.instantiate(module, {});