Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Iterators and Ranges - Comparing C++ to D to Rust

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
The talk compares C++ iterators and ranges with D ranges and the iterator models used by Rust and other languages. It demonstrates common operations such as map, filter, find_if, splitting, and group_by across these models.

Syllabus

Intro
Basis Operations
Basic C++ Range Structure
Implementing map in C++ (transform)
Implementing filter in C++
The D Ranges Model
Basic D Range Structure
Implementing map in D
Implementing filter in D
Reading Languages
C++ Iterators vs D Ranges: find if
C++ Iterators vs D Ranges: splitting
The Rust Iterator Model
Basic Rust Iterator Structure
Implementing map in Rust
Implementing filter in Rust
The Rust/Python Iterator Model
Implementing filter in Python
Implementing filter in Java
Implementing peek in Rust
Iterator Languages: find if
Iterator Languages: group_by

Taught by

CppNow

Reviews

Start your review of Iterators and Ranges - Comparing C++ to D to Rust

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.