Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Getting Started with WebAssembly - WASM with Rust Lang

Chris Hay via YouTube

Overview

Dive into the world of WebAssembly (WASM) using Rust in this 33-minute video tutorial. Learn how to scaffold, build, and execute WebAssembly projects with Rust, including specific instructions for Apple M1 silicon. Explore the process of creating a Rust library for WASM modules, modify cargo.toml files, and write Rust WebAssembly code in VSCode. Discover techniques for optimizing release WASM, extending WebAssembly functionality in Rust, and building for Node.js execution. Compare Rust-generated WASM to hand-coded versions, and gain insights into reverse engineering WASM to WebAssembly Text Format (WAT). Perfect for developers looking to harness the power of WebAssembly with Rust.

Syllabus

- intro
- installing wasm-pack
- creating a rust library for your wasm module with cargo
- exploring the scaffolded library in vscode
- modifying the cargo.toml
- writing some rust webassembky code in vscode
- building rustlang wasm with apple m1 silicon
- exploring the generated wasm
- reverse engineering wasm to wat
- optimizing the generated release wasm
- extending your webassembly in rust
- building your webassembly for node.js
- executing your rust generated wasm in nodejs
- handcoding some webassembly
- comparing rust generated and handcoded webassembly
- conclusion

Taught by

Chris Hay

Reviews

Start your review of Getting Started with WebAssembly - WASM with Rust Lang

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.