C++Now 2021 has ended
Back To Schedule
Wednesday, May 5 • 1:30pm - 3:00pm
Iterators and Ranges: Comparing C++ to D to Rust

Log in to save this to your schedule, view media, leave feedback and see who's attending!

The STL introduced an iterator abstraction into C++ that generalized the notion of pointer and allowed for the ability to have arbitrary sequences that could be generically traversed and have algorithms performed on them. But the C++ iterator-pair model isn't the only possible approach to solving this problem. The D Ranges model, while isomorphic to the C++ one, is still quite distinct and has some interesting characteristics. Many languages (including Rust and Python) have an entirely different iteration model from the C++/D one.

Are D Ranges better or worse than C++ Ranges? Is Rust's better than C++'s? Does it depend on what your definition of is is? The goal of this talk is to examine the problem space and find out.

avatar for Barry Revzin

Barry Revzin

Jump Trading
Barry is a senior C++ developer at Jump Trading in Chicago, a research and technology driven trading firm. After programming for many years, he got really into the nuances and intricacies of C++ by being unreasonably active on StackOverflow (where is he is the top contributor in C++14... Read More →

Wednesday May 5, 2021 1:30pm - 3:00pm MDT