Understanding C++ Coroutines by Example: Generators (Part 1 of 2) - Pavel Novikov - CppCon 2022
---
Understanding C Coroutines by Example: Generators (Part 1 of 2) - Pavel Novikov - CppCon 2022
Coroutines are a powerful tool added to C 20. There are no out-of-the-box facilities in the standard library that are user friendly and immediately usable, although there are plenty of libraries out there already providing such primitives.
Also there are now best practices regarding usage of coroutines in C that emerged while people were learning them, and that programmers should know about.
This time we will concentrate on the generators part of the coroutines.
We’ll get up to speed with how coroutines work under the hood, and then learn about the co_yield keyword, and how simple generators and asynchronous generators conceptually work.
Note: this session is part 1 of a series of talks. They cover separate aspects of coroutines and are designed to be mostly independent. You can watch part 2 here:
---
Pavel Novikov
Got an engineering degree in missilery from BMSTU (Moscow).
Loves C and knows how to cook it.
Likes metaprogramming, multithreading and asynchronous programming, coroutine adoption enthusiast.
__
Videos Streamed, Edited, and YouTube Channel Managed by Digital Medium:
#cppcon #programming #coroutines
5 views
1983
661
4 weeks ago 05:31:30 2
Python Tutorial for Beginners - Learn Python in 5 Hours [FULL COURSE]
1 month ago 00:12:49 1
Behind The Music | ’Leave Me Alone’ by Michael Jackson | the detail.
1 month ago 00:12:35 1
How Trump’s Team Uses Quantum Computers - Alex Collier Explains!
1 month ago 00:23:07 1
Top 10 Healthiest Vegetables You Must Eat
1 month ago 00:02:06 1
Roman Kovgan - Dariia Palyey | 2015 Assen | Professional Latin - Classic Rumba (Remastered 4K)