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

Learn how to create, build, and execute WebAssembly (WASM) using Rust in this 33-minute video. The course covers scaffolding a webassembly project, building it in Rust (including on Apple M1), executing wasm code in node.js, comparing Rust-generated wasm to hand-coded wasm, and reverse engineering wasm to webassembly text format (wat). The course teaches skills such as installing wasm-pack, creating a rust library for wasm, writing rust webassembly code, and optimizing generated release wasm. The teaching method includes practical demonstrations and code walkthroughs. This course is intended for individuals interested in web development, Rust programming, and exploring the capabilities of WebAssembly.

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.