Lightning Talk: Implementing Coroutines Using C++17 - Alon Wolf - CppCon 2023
CppCon CppCon
147K subscribers
4,126 views
0

 Published On Apr 5, 2024

https://cppcon.org/
---

Lightning Talk: Implementing Coroutines Using C++17 - Alon Wolf - CppCon 2023
https://github.com/CppCon/CppCon2023

In this lightning talk, we will explore the journey of implementing coroutines in C++17 before they were added to the language in C++20.
The implementation uses macros, template metaprogramming, assembly functions, and more that resulting in working coroutines despite somewhat "horrible" code.
Discover how local variables within the coroutine body were leveraged to calculate frame sizes and ensure correct variable lifetimes during suspension, resumption, and destruction.
---

Alon Wolf

Alon is a Senior Software Engineer at Medtronic specializing in 3D and computer graphics with a passion for high performance. He has developed many custom simulation and rendering engines for different platforms using modern C++. He also writes a C++ technical blog and participates in game jams.
---

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: https://events.digital-medium.co.uk
---

Registration for CppCon: https://cppcon.org/registration/

#cppcon #cppprogramming #cpp

show more

Share/Embed