Pinchflat

LIVE [Day 3]: building a shell in rust !today !sponsor ݁ ˖Ი𐑼⋆

Raw Attributes

Source: bashbunni
  • upload_date_index: 99
  • prevent_culling: false
  • subtitle_filepaths:
  • livestream: true
  • playlist_index: 0
  • thumbnail_filepath:
  • media_size_bytes: 509057470
  • culled_at: 2026-08-21T01:00:01Z
  • description: In this session, I'm diving back into the world of Rust to continue building my own shell. It's a day of "scuffed" beginnings, technical hurdles, and a deep dive into the complexities of quoted text and string parsing. Watch as I pivot from an over-engineered solution to a more efficient state-machine approach, all while navigating the quirks of Linux display mirroring and sharing some behind-the-scenes insights on the creator life. In this stream Refactoring the Shell: Moving from a complex match_indices approach to a single-pass state machine for better performance. Handling Edge Cases: Dealing with single quotes, nested spaces, and those pesky carriage returns. Join this channel to get access to perks: https://www.youtube.com/channel/UC9H0HzpKf5JlazkADWnW1Jw/join bashbunni is partnered with Tailscale! Tailscale leverages the Wireguard protocol to create a user friendly, low latency, peer-to-peer mesh network. It's free for individuals + get three months free off of any paid plan with code 'bashbunni'. https://link.bashbunni.dev/tailscale --- In this stream, I'm building a shell with a guided project from Code Crafters. This project is free for the next few months, so you can follow along too! I have a referral/affiliate link with them that gets you 40% off their annual plan (ignore the 72 hour window, you can redeem this discount indefinitely) https://link.bashbunni.dev/codecrafters Chapters: 00:00 - Stream Start & Technical Difficulties 01:15 - Project Update: Continuing the Shell 05:35 - The Single Quotes Problem & Current Logic 07:55 - Thinking Out Loud: Conference Speaking Fears 10:40 - Lessons Learned & Rust Retrospectives 14:30 - Explaining the (Over-Engineered) Solution 23:15 - Consulting AI: Performance vs. Efficiency 28:05 - Tearing it Down: Starting the Refactor from Scratch 40:15 - New Logic: Iterating Left-to-Right 51:10 - Implementation: Handling Special Characters 1:02:45 - String Concatenation & Rust Syntax Struggles 1:10:40 - First Run: Debugging Double Output 1:18:50 - Why I Dropped Out of my CS Degree 1:23:25 - The Legendary 200+ Gifted Sub Hype Train 1:35:40 - Debugging: Why aren't spaces being preserved? 1:44:30 - Guessing the Carriage Return Issue 1:53:30 - Discussion: Emacs vs. Vim vs. Helix 2:03:15 - Writing Tests in Rust 2:14:00 - Final Tweaks & Logic Flow 2:21:00 - Wrap Up & What's Next
  • title: LIVE [Day 3]: building a shell in rust !today !sponsor ݁ ˖Ი𐑼⋆
  • id: 3000390
  • duration_seconds: 8531
  • updated_at: 2026-08-21T01:00:01Z
  • source_id: 52
  • short_form_content: false
  • media_redownloaded_at: 2026-05-22T02:05:10Z
  • inserted_at: 2026-05-20T19:39:00Z
  • media_filepath:
  • uuid: 7c586cbb-65e7-4f31-a3ea-67c4cbc562f2
  • uploaded_at: 2026-05-20T21:58:21Z
  • matching_search_term:
  • metadata_filepath:
  • prevent_download: true
  • tasks:
  • last_error:
  • media_id: XEpndAHB-Eo
  • media_downloaded_at: 2026-05-22T02:05:06Z
  • predicted_media_filepath: /downloads/chris/tubes/bashbunni_[UC9H0HzpKf5JlazkADWnW1Jw]/Season 2026/s2026e052099_LIVE [Day 3]: building a shell in rust !today !sponsor ݁ ˖Ი𐑼⋆.mp4
  • nfo_filepath:
  • original_url: https://www.youtube.com/watch?v=XEpndAHB-Eo

Nothing Here!