Loading…
CppCon 2019 has ended
Thursday, September 19 • 15:50 - 16:20
Generators, Coroutines and Other Brain Unrolling Sweetness

Log in to save this to your schedule and see who's attending!

C++20 brings us coroutines and with them the power to create generators, iterables and ranges.
We'll see how coroutines allow for cleaner, more readable, code, easier abstraction and genericity, composition and avoiding callbacks and inversion of control.

We'll discuss the pains of writing iterator types with distributed internal state and old-school co-routines. Then we'll look at C++20 coroutines and how easy they are to write clean linear code. Coroutines prevent inversion of control and reduce callback hell. We'll see how they compose and play with Ranges with examples from math, filtering, robotics and rasterization.

The talk will focus more on co_yield and less on co_await and async related usages.

Speakers
avatar for Adi Shavit

Adi Shavit

Visioneer, Mr
Adi Shavit is an entrepreneur, speaker, independent consultant, experienced software architect and a computer vision, image processing, and machine learning expert with an emphasis on real-time applications. He specializes in building cross-platform, high-performance software combined... Read More →


Thursday September 19, 2019 15:50 - 16:20
Aurora D

Attendees (341)




Twitter Feed