Pinchflat

Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14

Raw Attributes

Source: Advanced Rust
  • media_id: Yv3QxQrhJGw
  • duration_seconds: 796
  • predicted_media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e081500_Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14.mp4
  • short_form_content: false
  • upload_date_index: 0
  • nfo_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e081500_Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14.nfo
  • media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e081500_Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14.mp4
  • description: 👨‍💻 I offer personal mentoring for beginner and intermediate Rust Developers, including systems design. Reach out and we can figure out a way to work on your career: comfycoderyt@gmail.com Watch the rest of this series: https://www.youtube.com/playlist?list=PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl New to Rust? Check out my fundamentals series: https://www.youtube.com/playlist?list=PLFdNoRgzggbo6BqJQ6tqk_wvXeI5yfbGA Too much flexibility can break your Rust code — and the Abstract Factory pattern can save you. In this video, we’ll start with a small Rust application that works fine… until a new requirement forces us to make it “flexible.” That flexibility quickly turns into a misconfiguration nightmare. I’ll show you: - How we accidentally created a problematic generic design - Why Rust’s type system can’t save us in this case - How the Abstract Factory pattern works - Multiple Rust implementations: generics, associated types, trait objects, and enums - How they compare in readability and performance If you already know the Abstract Factory, stick around for the deep dive into Rust-specific implementations — we’ll explore the trade-offs and see which one might fit your next project best. 🐘 Mastodon: https://mastodon.social/@GreenTeaCoding 📂 GitHub repo: https://github.com/Thodin/abstract-factory Timestamps 00:00 Too Flexible = Broken 02:14 Abstract Factory Pattern 04:51 Generics AF 05:52 Associated Types AF 06:58 Boxed Trait Objects AF 08:03 Returning Impl AF 09:59 Enums AF 11:00 Final Comparison 12:46 Outro #Rust #AbstractFactory #DesignPatterns #RustLang #SoftwareArchitecture #RustProgramming #SystemDesign #RustTips #RustTutorial
  • updated_at: 2025-08-16T09:45:42Z
  • id: 894102
  • media_size_bytes: 36316019
  • inserted_at: 2025-08-16T09:45:22Z
  • media_redownloaded_at:
  • prevent_culling: false
  • source_id: 22
  • original_url: https://www.youtube.com/watch?v=Yv3QxQrhJGw
  • uuid: 2a72fa1f-6219-4d66-9a59-128074685cb7
  • matching_search_term:
  • metadata_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e081500_Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14.info.json
  • uploaded_at: 2025-08-15T11:26:07Z
  • thumbnail_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e081500_Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14-thumb.jpg
  • prevent_download: false
  • tasks:
  • title: Abstract Factory in Rust — Solving a Hidden Design Problem | Advanced Rust Part 14
  • last_error:
  • culled_at:
  • subtitle_filepaths:
  • media_downloaded_at: 2025-08-16T09:45:38Z
  • livestream: false
  • playlist_index: 14

Nothing Here!