The Why, What, and How of Pinning in Rust
What it is
Jon Gjengset's long live-coding stream explains Rust's Pin and Unpin types: why they exist, how they work, and how they connect to futures and async/await. It also covers moving from pre-pinning code to the new model.
Why Hacker News recommends it
HN treats it as the definitive resource for understanding Pin semantics and lists it among async Rust learning materials.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2021, last 2026
What HN commenters said
“Jon Gjengset's stream on pin/unpin is invaluable for understanding Pin semantics”
Pin/Unpin semantics explained in depth.
theossuary, 2023-03 · Strong recommendation · in “Effing-mad, an effect library for Rust”
“is a great video that explains it in detail.”
Detailed explanation of Pin in Rust.
DasIch, 2021-05 · Recommendation · in “Things you can’t do in Rust (and what to do instead)”
“you can watch John Gjengset's crust of rust async, decrusting tokio, and why what, and how of pinning in rust”
Part of a list of async Rust learning resources.
lame_lexem, 2026-05 · Recommendation · in “Async Rust never left the MVP state”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: rust, pin, unpin, async await, futures, live coding
Also recommended by the same people
demoCoding Adventure: Ant and Slime SimulationsSebastian Lague · 6 HN recommenders · 2021–2024
talkBlack Hat USA 2013 - OPSEC failures of spiesBlack Hat · 3 HN recommenders · 2016–2019
lectureArithmetic, Population and Energy - FULL LENGTHkip399 · 3 HN recommenders · 2016–2024
explainerThe Most Misunderstood Concept in PhysicsVeritasium · 5 HN recommenders · 2023–2024
commentaryCanceling | ContraPointsContraPoints · 7 HN recommenders · 2020–2025
tutorialCrust of Rust: async/awaitJon Gjengset · 2 HN recommenders · 2023–2026
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025