hackertube.io

The Why, What, and How of Pinning in Rust

Jon Gjengset · tutorial · Watch on YouTube

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

  1. “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”

  2. “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)”

  3. “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