Skip to content

C++Frug #59 - Coroutines

Photo of Joel Falcou
Hosted By
Joel F. and Vivien M.
C++Frug #59 - Coroutines

Details

Your name will be ask when you arrive (security reason).

Fifty-ninth edition of C++ French User Group (C++Frug) Paris. This session will be hybrid:

  • MARGO welcomes us near Saint Lazare, 1 rue de Saint Petersburg, 75008 Paris
  • Video will be shared online on Discord

Before starting, please join our Discords (https://discord.gg/tjx9bFpBfC & https://discord.gg/9aU6tZabJV). Discord desktop application is more stable than web one.

Here is the program (Paris time):

  • 19h00 Welcome
  • 19h15 News of the C++ ecosystem
  • 19h20 Lightning talks
  • 19h50 Snacks & drinks
  • 20h30 C++ Coroutines - Gods from the Machine -- Phil Nash

If you are interested to talk, please MP or contact us on Discord.

-------------------

C++ Coroutines - Gods from the Machine
Coroutines seem to work like magic - with the compiler generating a lot of machinery for you. Yet, at the same time, writing them from scratch remains complex with lots of moving parts! Trying to keep them all in your head while learning it is what makes coroutines so hard to master.

But the dance between all those parts and what the compiler does for you is so tight that you can literally let your compiler be your guide. I'll show how, from a standing start, you can get from no code to a working, useful, coroutine while only needing to know a handful of extra pieces of information.

In ancient Greek theatre puzzling plots were often resolved by external factors - often an actor or prop lowered in from a crane (in Greek, "mēkhanês", or Latin: "mechine"). This came to be called, "deus ex machina" - gods from the machine. We will keep our deus ex machina to a minimum and leave the compiler to teach us the rest.

Finally! Coroutines without the suspense!

Phil Nash
is the original author of the C++ test framework, Catch2 and is an independent consultant and trainer, specialising in TDD and Modern C++.
Formerly Developer Advocate at Sonar and JetBrains he has had a career that spans finance, mobile and software security.
He's also a member of the ISO C++ standards committee, organiser of C++ London and C++ on Sea, as well as co-host and producer of CppCast.

Photo of User Group C++ Francophone group
User Group C++ Francophone
See more events
MARGO
1 Rue de Saint-Pétersbourg · Paris