Zum Inhalt springen

Andreas Buhr: Introduction to C++20 Coroutines

Foto von Tina Ulbrich
Hosted By
Tina U.
Andreas Buhr: Introduction to C++20 Coroutines

Details

C++20 brings four major new features: concepts, coroutines, modules, and ranges. In this meetup, we will have a hands-on introduction to coroutines.

Coroutines are a long awaited feature in C++. They finally arrived in C++20 after being available in many mainstream programming languages like Go, Python, or Kotlin for several years.
Coroutines allow to formulate multiple threads of execution existing at the same time without using operating system threads and without worrying about parallelism and locking. While the concept is rather simple, starting to work with coroutines in C++ can be challenging because there are numerous customization points.
In this session, you will survey the fundamental building blocks for coroutines and the associated concepts. During this workshop, there will be multiple hands-on exercises where you write your own coroutines using compiler explorer.

Join here: https://meet.osna.social/osnacpp
Please disable your video feed when you join.

Photo of C++ User Group Osnabrück group
C++ User Group Osnabrück
Mehr Events anzeigen