In this video, I go through the steps of installing Rust, writing your first rust function, compiling it to WebAssembly (wasm) and importing that into your JavaScript application.
Installing Rust:
https://www.rust-lang.org/en-US/insta...
Intro to WebAssembly Blog Post:
https://dockyard.com/blog/2018/05/14/...
Wasm-gc for optimizing your wasm further:
https://github.com/alexcrichton/wasm-gc
Wasm-bindgen for importing using more than just numbers:
https://github.com/rustwasm/wasm-bindgen