Skip to content

Coroutines with Andreas Fertig

Photo of JensW
Hosted By
JensW
Coroutines with Andreas Fertig

Details

Tonights event features Andreas Fertig with his talk on coroutines:

C++20’s Coroutines for Beginners

You've heard about this new feature in C++20, coroutines, but it's the first time you have encountered this term? Then this talk is what you're looking for. We start from the beginning with just "normal" functions. Next, we introduce coroutines.

Using them, we explore the various customization points C++ offers. We look at what the new keywords co_await, co_yield, and co_return are for.

Sadly, we also have to talk about how to write a generator for a coroutine since there is no STL part for that in C++20.

Another distinction we make is between cooperative and preemptive multitasking, opening the door for another beauty of coroutines: why we don't need locks.

By the end of this talk, you've learned what coroutines are and where you can use them.

The event will include a give away of "Modern C++ Programming Cookbook - Third Edition: Master modern C++ including the latest features of C++23 with 140+ practical recipes (Packt)" in the welcome message.

Eventstart/Rooms: 19:00
Welcome Message: 19:30
Talk: 20:00

Photo of Meeting C++ online group
Meeting C++ online
See more events