Pinchflat

LIVE [Day 2]: Building a Shell REPL in Rust

Raw Attributes

Source: bashbunni
  • upload_date_index: 98
  • prevent_culling: false
  • subtitle_filepaths:
  • livestream: true
  • playlist_index: 0
  • thumbnail_filepath:
  • media_size_bytes: 1166319361
  • culled_at: 2026-08-15T01:00:01Z
  • description: Thank you to Tailscale for sponsoring the stream! https://link.bashbunni.dev/tailscale ⟡˖ learn more below In this stream, I'm building a shell with a guided project from CodeCrafters. This project is free for the next few months, so you can follow along too! https://link.bashbunni.dev/codecrafters My referral/affiliate link with CodeCrafters gets you 40% off their annual plan (ignore the 72 hour window, you can redeem this discount indefinitely) and lets them know that I sent you :) ⟡˖ Watch Live I live stream the entire process of learning Rust and building these projects every Monday, Wednesday, and Thursday at 12pm PT. Subscribe to follow along with the journey! ⟡˖ How to support bunni Join this channel to get access to perks: https://www.youtube.com/channel/UC9H0HzpKf5JlazkADWnW1Jw/join bashbunni is partnered with Tailscale! Tailscale leverages the Wireguard VPN 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 ⟡˖ My other corners of the Internet: https://twitch.tv/bashbunni https://github.com/bashbunni https://discord.com/invite/Y3vbKS4K9j (come hang!) https://matrix.to/#/#bashbunni:matrix.org https://mastodon.social/@bashbunni https://twitter.com/sudobunni https://bsky.app/profile/bashbunni.dev Chapters: 00:00 - Stream Start & Intro 01:40 - CodeCrafters Shell Challenge 06:22 - The Importance of Task Planning 08:42 - Discussing "NGMI" Dev Culture 12:50 - Viral Twitter/X Meme Moment 15:55 - Shell vs. Terminal Emulator Explained 17:35 - Setup Tour & New Keyboard Tray 20:55 - Partnering with Tailscale 21:55 - Project Status: Shell Built-ins 24:45 - Catching a Regression in the Exit Command 31:18 - Implementing Path Search for Executables 41:50 - Diving into Rust Environment Variables 46:00 - Industry Talk: Contracting & Top Talent 52:45 - Using OS Agnostic Path Handling in Rust 59:58 - Rust Deep Dive: Vectors vs. Slices 01:07:30 - Refocusing on Logic & Data Structures 01:14:20 - Handling OS Strings & PathBuff in Rust 01:23:00 - Troubleshooting LSP & Definitions 01:31:50 - Building the Path Search Logic 01:41:20 - Checking File Permissions & Executables 01:48:00 - Advice for Staying Efficient as a Developer 02:02:15 - Organizing the Eval Loop 02:12:45 - Debugging Path Issues with Clippy 02:22:10 - Testing Local Path Execution 02:30:10 - Refactoring for Priority Order 02:40:00 - Optimizing with Map and Find Map 03:00:45 - Final Test Run & Success! 03:04:40 - Outro & Raiding Ryan Fleury
  • title: LIVE [Day 2]: Building a Shell REPL in Rust
  • id: 2953686
  • duration_seconds: 11199
  • updated_at: 2026-08-15T01:00:01Z
  • source_id: 52
  • short_form_content: false
  • media_redownloaded_at: 2026-05-16T02:07:11Z
  • inserted_at: 2026-05-14T18:49:17Z
  • media_filepath:
  • uuid: 426bf855-f41a-40bc-8a17-595344a830ce
  • uploaded_at: 2026-05-14T21:42:25Z
  • matching_search_term:
  • metadata_filepath:
  • prevent_download: true
  • tasks:
  • last_error:
  • media_id: VwL28-jvvjg
  • media_downloaded_at: 2026-05-16T02:07:07Z
  • predicted_media_filepath: /downloads/chris/tubes/bashbunni_[UC9H0HzpKf5JlazkADWnW1Jw]/Season 2026/s2026e051498_LIVE [Day 2]: Building a Shell REPL in Rust.mp4
  • nfo_filepath:
  • original_url: https://www.youtube.com/watch?v=VwL28-jvvjg

Nothing Here!