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

YouTube

Lazy and Fast - Ranges Meet Parallelism in C++

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a modern library technique that bridges the gap between lazy ranges and parallel algorithms in C++. Learn how recent advances in the C++ standard have introduced powerful features like ranges and parallel algorithms, both designed to write faster, cleaner, and more expressive code, yet discover why these seemingly complementary features don't naturally work well together in practice. Understand how many range operations, especially those over non-random-access sources, are inherently sequential due to their lazy pull-based, one-element-at-a-time nature, which conflicts with parallel processing requirements. Master practical techniques for building lazy, composable range pipelines that are parallel-friendly and capable of efficiently expressing operations like filter, scan, and flatten without sacrificing performance or elegance. Examine real-world examples demonstrating how these techniques deliver strong parallel speedups with minimal programming overhead. Gain insights from Daniel Anderson, an assistant teaching professor at Carnegie Mellon University with a PhD in computer science focusing on parallel computing and parallel algorithms, who teaches algorithms to hundreds of undergraduate students and develops C++ libraries to make parallel computing more accessible to non-experts.

Syllabus

Lazy and Fast: Ranges Meet Parallelism in C++ - Daniel Anderson - CppCon 2025

Taught by

CppCon

Reviews

Start your review of Lazy and Fast - Ranges Meet Parallelism in C++

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.