Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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