HackerTube

THE VIDEO SHELF · rust pinning

The Why, What, and How of Pinning in Rust

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 HN readers recommended it

HN treats it as the definitive resource for understanding Pin semantics and lists it among async Rust learning materials.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Jon Gjengset
Topic
rust pinning
Format
tutorial
Level
advanced
HN recommenders in dataset
3
HN mentions in dataset
3
Recommendation years in dataset
2021–2026

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • Jon Gjengset's stream on pin/unpin is invaluable for understanding Pin semantics: [VIDEO] But the 10000 ft view is: Pin lets you tell Rust to never ever move a piece of memory. This is almost always done because the piece of memory has pointers into itself …

    theossuary on Hacker News · 2023-03
    In Effing-mad, an effect library for Rust
  • Let's assume for a moment self-referential references were allowed. Let's further say we have such a struct containing self-referential references and we move it. Moving actually moves things in memory, including the thing those references reference. This means the references now point at the old …

    DasIch on Hacker News · 2021-05
    In Things you can’t do in Rust (and what to do instead)
  • there is a chapter on async in comprehensive rust and rustbook which ought to bring you up to speed there is the async book but it is largely unfinished you can watch John Gjengset's crust of rust async, decrusting tokio, and why what, and how …

    lame_lexem on Hacker News · 2026-05
    In Async Rust never left the MVP state

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.