Sebastian KaiserA personal engineering notebook

Follow a thread

iterators

The Iterator Is the State Machine

How Rust's Iterator trait supports lazy composition, and what a comparison with C++ ranges tells us about ownership checks and optimization.