Crust of Rust: Lifetime Annotations
What it is
In this first Crust of Rust episode, Jon Gjengset live-codes an example that needs multiple explicit lifetime annotations. Along the way he covers string types and generics over a custom trait.
Why Hacker News recommends it
Recommended as a slow-paced, detailed live-coding session that makes lifetimes click once you are past Rust basics.
- 3 people recommended it
- 3 different months
- 0 strong recommendations
- first 2020, last 2023
What HN commenters said
“His talks are very detailed[4] and captivating[3]”
Detailed Rust live-coding walkthrough on lifetimes
harikb, 2020-06 · Recommendation · in “There’s plenty of room at the Top: computer performance after Moore’s law”
“listening to [0]Crust of Rust: Lifetime Annotations by Jon Gjengset helped me understand its need.”
Explains why Rust lifetime annotations are needed
ashish01, 2020-09 · Recommendation · in “My Favorite Rust Function Signature”
“each one is actually writing carefully chosen code that runs and talking through what's going on”
Slow-paced live coding that clarifies specific Rust topics once past basics
tialaramex, 2022-09 · Recommendation · in “Next steps for Rust in the kernel”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: rust, lifetimes, live coding, strings, generics
Also recommended by the same people
lectureRust at speed — building a fast concurrent databaseJon Gjengset · 2 HN recommenders · 2019–2022
talkAbseil's Open Source Hashtables: 2 Years In - Matt Kulukundis - CppCon 2019CppCon · 1 HN recommender · 2021–2026
talkCppCon 2015: Kate Gregory “Stop Teaching C"CppCon · 7 HN recommenders · 2016–2025
explainerDiffie-Hellman Key ExchangeArt of the Problem · 9 HN recommenders · 2016–2024
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkCppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon · 9 HN recommenders · 2018–2026
talkRustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Programming Language · 9 HN recommenders · 2018–2023