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

YouTube

C++20 Coroutines - Generators, and Brain Unrolling Sweetness

code::dive conference via YouTube

Overview

Explore the power of C++20 coroutines in this 53-minute conference talk from code::dive 2019. Dive into the world of generators, iterables, and ranges as speaker Adi Shavit demonstrates how coroutines enable cleaner code, easier abstraction, genericity, composition, and the avoidance of callbacks and inversion of control. Learn about functions as sub-routines, user-defined iterators, and the challenges of awkward coupling and distributed logic. Discover the simplicity and elegance of C++20 coroutines, including infinite ranges and resource management. Benefit from Shavit's expertise as an entrepreneur, software architect, and computer vision specialist, gaining insights into building cross-platform, high-performance software with maintainable code-bases.

Syllabus

Intro
FUNCTIONS A.K.A. SUB-ROUTINES
USER DEFINED ITERATORS
AWKWARD COUPLING
DISTRIBUTED LOGIC
LOGIC PUZZLE
C++20 COROUTINES
THE SIMPLEST CODE
INFINITE RANGES
DANGLING REFERENCES
RESOURCES

Taught by

code::dive conference

Reviews

Start your review of C++20 Coroutines - Generators, and Brain Unrolling Sweetness

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.