Pinchflat

The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9

Raw Attributes

Source: Advanced Rust
  • media_id: 5Jyeqz_4kpY
  • duration_seconds: 1066
  • predicted_media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e013100_The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9.mp4
  • short_form_content: false
  • upload_date_index: 0
  • nfo_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e013100_The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9_[5Jyeqz_4kpY].nfo
  • media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e013100_The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9_[5Jyeqz_4kpY].mp4
  • description: The Visitor is an often employed pattern to flexibly add functionality to a type hierarchy. But it comes at the price of low performance due to its use of dynamic dispatch. Today, we explore a performant, easy to implement, and very Rust-idiomatic alternative to the visitor pattern. We make comparisons, discuss trade-offs and find some best-practice rules. 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 GitHub Visitor Pattern: https://github.com/Thodin/visitor_pattern GitHub Pattern Matching: https://github.com/Thodin/pattern_matching Find me elsewhere: 🐘 Mastodon: https://mastodon.social/@GreenTeaCoding 00:00 Intro 00:55 Visitor Pattern Recap 03:42 Why do we need the Visitor? 06:14 Pattern Matching Implementation 07:59 Rust's Enums 08:58 Commonalities 09:23 Differences 10:17 Performance Comparison 13:46 When to choose which 16:56 Outro #rustlang #softwarearchitecture #softwaredevelopment
  • updated_at: 2025-02-01T17:56:16Z
  • id: 315242
  • media_size_bytes: 74867127
  • inserted_at: 2025-02-01T17:55:53Z
  • media_redownloaded_at:
  • prevent_culling: false
  • source_id: 22
  • original_url: https://www.youtube.com/watch?v=5Jyeqz_4kpY
  • uuid: 72628f84-62a4-44f6-a28d-8d6df1c2b56f
  • matching_search_term:
  • metadata_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e013100_The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9_[5Jyeqz_4kpY].info.json
  • uploaded_at: 2025-01-31T22:00:12Z
  • thumbnail_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e013100_The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9_[5Jyeqz_4kpY]-thumb.jpg
  • prevent_download: false
  • tasks:
  • title: The Visitor Pattern Showdown – A 70x Faster Alternative? | Advanced Rust Part 9
  • last_error:
  • culled_at:
  • subtitle_filepaths:
  • media_downloaded_at: 2025-02-01T17:56:12Z
  • livestream: false
  • playlist_index: 9

Nothing Here!