Introduction to Rust + WebAssembly
Peter Johanson (https://petejohanson.dev/)
Rust is a fast, memory efficient programming language that benefits from a rich type system and a powerful ownership model. This elegant blend of features has allowed Rust to thrive for a variety of use cases, from powering Mozilla's Quantum browser efforts to targeting another recent technology, WebAssembly.
WebAssembly is a language-agnostic binary instruction format that powers a stack-based virtual machine. It is intended to be a cross-platform target for higher level languages such as C/C++ and Rust, allowing developers to write fast/efficient code in powerful languages that can target the web, and more recently non-browser runtimes.
Given time, we will also review more recent efforts on standardizing the WebAssembly System Interface (WASI) that enables running WebAssembly outside of a browser context, with APIs for file/filesystem access, Berkley sockets, random number generation, etc.