Section 3: Rust and WebAssembly
This section introduces Rust and how easy it is to generate WebAssembly modules from Rust. You will learn how the Rust ecosystem made WebAssembly a first-class citizen and what the various tools available are and how to use them.
You will completely understand how to use Rust and WebAssembly together in a JavaScript application, as well as a little of WASI, by the end of this chapter.
This section comprises the following chapters:
- Chapter 7, Integrating Rust with WebAssembly
- Chapter 8, Bundling WebAssembly Using wasm-pack
- Chapter 9, Crossing the Boundary between Rust and WebAssembly
- Chapter 10, Optimizing Rust and WebAssembly