This page contains some further information that is helpful when using and/or developing WebAssembly modules.
Further information on all parts of the WebAssembly API can be found on MDN .
Working with Non-Numeric Types
If you plan to do a lot of work with Web APIs in Rust+WebAssembly, you may find the
js_sys Rust crates useful.
bindings to most of the Web APIs that are available in Deno, while
For production builds it can be a good idea to perform optimizations on WebAssembly binaries. If you're mainly serving binaries over networks then optimizing for size can make a real difference, whereas if you're mainly executing WebAssembly on a server to perform computationally intensive tasks, optimizing for speed can be beneficial. You can find a good guide on optimizing (production) builds here . In addition, the rust-wasm group has a list of tools that can be used to optimize and manipulate WebAssembly binaries.