RustLab 2021
2021-03-18..2021-09-23
-- online --
RustLab ·
[RustLab 2019, RustLab 2020, RustLab 2021, RustLab 2022, RustLab 2023, RustLab 2024, RustLab 2025]
who it's for
rust developers, systems programmers, webassembly developers, graphics engineers, backend engineers, engineering managers, compiler engineers
topics
Rust borrow checker and MIR; Cargo and crates.io ecosystem; wasm-pack and wasm-bindgen; WebGPU 2D scene graph; Rc and RefCell ownership patterns; FFI rewrites from C to Rust; alloc profiling with Dhat; reducing allocations with smallvec/smallstring; enum_dispatch instead of trait objects; jemalloc and mimalloc allocator choices; serde_json allocation hotspots; zero-copy formats like FlatBuffers/CapnProto/Arrow
| title | author | length |
|---|---|---|
| Rewriting of a small component from C to Rust | Pietro Lorefice | 01h 02m |
Rewrites a ~2000-line C component into Rust, replacing a single-threaded control loop that runs at about 12 ms with a Rust version compiled via Cargo and using… | ||
| Rust Vs Go Panel | Miriah Peterson, Michael Snoyman, Jonathan Turner, Steve Francia | 01h 43m |
Panel compares concrete tradeoffs: Go wins when requirements change quickly — zero-to-100 speed, tiny binaries, a millisecond-fast compiler, built-in… | ||
| 2D Graph scene in Rust | Gerhard de Clercq | 02h 13m |
Proof-of-concept 2D scene graph in Rust uses WebGPU (Mozilla Rust ref impl) to drive GPU-backed nodes (rectangles, image nodes, pipelines reused) and handles… | ||
| 2D Graph scene in Rust | Gerhard de Clercq | 02h 03m |
Built a proof‑of‑concept 2D GPU scene graph in Rust called scenegraph‑rs that targets WebGPU, implements rectangle and image nodes, composition, transforms and… | ||
| The Rust Borrow Checker: a Deep Dive | Nell Shamrell-Harrington | 38m |
Walks through compiler stages (lexer → parser → HIR → MIR → LLVM IR) and shows concrete examples: a moved String that fails at cargo build, the diagnostic text… | ||
| The Rust Borrow Checker: A Deep Dive | Nell Shamrell-Harrington | 36m |
Explains how the compiler lowers source via HIR to MIR and runs the borrow checker during semantic analysis, where it tracks initializations and moves and… | ||
| Rust and WebAssembly | Daniele D'Orazio | 01h 02m |
Introduces WebAssembly (Wasm) and shows how to compile Rust to Wasm to build high-performance browser applications. Covers basics of Wasm and Rust, then walks… | ||
| Rust and WebAssembly | Daniele D'Orazio | 13m |
Introduces using the Rust programming language to compile code to WebAssembly (Wasm) for high-performance web applications, and demonstrates several… | ||
| Go Vs Rust Round Table | Miriah Peterson, Michael Snoyman, Jonathan Turner, Steve Francia | 01h 42m |
Panelists compare concrete tradeoffs: Go wins when requirements are fuzzy because goroutines + channels and fast compile/test cycles let teams iterate and swap… | ||
| Rewriting a Component from C to Rust | Pietro Lorefice | 18m |
A developer describes rewriting a small ~2000-line C component in Rust after hunting a compilation-dependent bug for days; the talk covers the original C… | ||
| Allocating Less: Really Thin Rust Cloud Apps | Evan Chan | 54m |
Argues that lowering allocations is key for tiny cloud units and gives concrete tactics: measure with Dhat to find hotspots (example: Serde JSON value… | ||
| Allocating Less: Really Thin Rust Cloud Apps | Evan Chan | 51m |
Rust can cut allocations to make tiny cloud units: a Vec is three 8-byte fields (24 bytes), a slice is 16 bytes, and a HashMap entry can cost up to ~72 bytes… | ||
| nothing matches | ||