Some examples of WebAssembly generated by Rust.
Some examples of WebAssembly generated by Rust.
Porting C to wasm.
Audio synthesis with wasm.
Image processing with wasm.
Morphological analysis with wasm.
File compression with wasm.
https://inokawa.github.io/rust-wasm-example/
requirements
wasm32-unknown-unknown
is used to compilenpm install
# Builds the project and opens it in a new browser tab. Auto-reloads when the project changes.
npm start
# Builds the project and places it into the `dist` folder.
npm run build
# Runs tests in Firefox
npm test -- --firefox
# Runs tests in Chrome
npm test -- --chrome
# Runs tests in Safari
npm test -- --safari