Pinchflat

Rust Stack vs. Heap Explained

Raw Attributes

Source: Jeremy Chone
  • subtitle_filepaths:
  • source_id: 47
  • original_url: https://www.youtube.com/watch?v=g14iDOHxh88
  • last_error:
  • media_filepath: /downloads/chris/tubes/Jeremy Chone_[UCiT_r1GD7JSftnbViKHcOtQ]/Season 2026/s2026e101099_Rust Stack & Heap Visualization.mp4
  • playlist_index: 1
  • description: A Rust programming visualization of the stack and the heap, cell by cell. One animated model keeps the code, stack frames, and heap in sync, showing stack frames, return values, Vec growth, and references into the heap. Then the same picture explains three classic memory bugs, stack overflow, buffer overflow, and use-after-free, and how Rust stops them. - 00:00 Intro - 00:35 Program Loading and Thread Stacks - 01:58 Red Marker (rename to what it shows) - 02:55 Rust Stack-Only Walkthrough - 10:50 Stack Dangling Pointer (can't happen in safe Rust) - 14:04 Rust Stack and Heap Walkthrough - 21:50 Stack Overflow - 24:11 Buffer Overflow - 26:24 Use-After-Free (Dangling Pointers) - 28:03 Enterprise Production Rust BriteSnow — Production Rust for enterprise teams: https://britesnow.com === Other Links ➜ zcoder https://zcoder.run - I am working on a very cool and unique new coding harness, (Control First, Workbench Centric, Built for parallelism) (in the Building, in Rust) ➜ Rust10x Best Practices and more ➜ https://rust10x.com (being redesigned) ➜ BriteSnow, my consulting company for over 15 years (helping enterprises build big apps with small teams) https://britesnow.com ➜ Discord general-rust - https://discord.gg/W2besKCzjx ➜ Twitter - https://twitter.com/jeremychone ➜ My current coding harness: With AIPack and pro@coder (https://news.aipack.ai/p/procoder-v052-demo-workbench) (Built in Rust) ➜ Discord genai & aipack - https://discord.gg/6KkpQBKGFS
  • prevent_download: false
  • id: 4123630
  • prevent_culling: false
  • uploaded_at: 2026-10-10T13:00:10Z
  • predicted_media_filepath: /downloads/chris/tubes/Jeremy Chone_[UCiT_r1GD7JSftnbViKHcOtQ]/Season 2026/s2026e101000_Rust Stack vs. Heap Explained.mp4
  • updated_at: 2026-10-11T00:09:00Z
  • culled_at:
  • nfo_filepath: /downloads/chris/tubes/Jeremy Chone_[UCiT_r1GD7JSftnbViKHcOtQ]/Season 2026/s2026e101099_Rust Stack & Heap Visualization.nfo
  • short_form_content: false
  • media_size_bytes: 58766795
  • inserted_at: 2026-10-11T00:08:43Z
  • upload_date_index: 99
  • title: Rust Stack vs. Heap Explained
  • metadata_filepath: /downloads/chris/tubes/Jeremy Chone_[UCiT_r1GD7JSftnbViKHcOtQ]/Season 2026/s2026e101099_Rust Stack & Heap Visualization.info.json
  • livestream: false
  • thumbnail_filepath: /downloads/chris/tubes/Jeremy Chone_[UCiT_r1GD7JSftnbViKHcOtQ]/Season 2026/s2026e101099_Rust Stack & Heap Visualization-thumb.jpg
  • uuid: e3022d18-b182-45c5-a812-22d50db8c9af
  • duration_seconds: 1701
  • matching_search_term:
  • media_downloaded_at: 2026-10-11T00:08:58Z
  • media_redownloaded_at:
  • media_id: g14iDOHxh88
Worker
State
Scheduled At
Pinchflat.Downloading.MediaDownloadWorker completed