Markus Klemm "C++20 Coroutines, with Boost ASIO in production: Frightening but awesome"

Описание к видео Markus Klemm "C++20 Coroutines, with Boost ASIO in production: Frightening but awesome"

Abstract:

Writing asynchronous code, for example with Boost ASIO, breaks a lot of basic patterns, often resulting in a lambda callback hell or lifetime issues. C++20 coroutines are a major help to reducing this complexity as other languages have done with „async functions“ or so called await semantics. However if one tries to use out of the box coroutines they are up for a lot of questions and confusion.

In this talk aimed at C++ intermediate to expert level audiences I will demonstrate, in conjunction with Boost ASIO, how one can write safer and orders of magnitude more readable asynchronous code thanks to the new compiler and library features.

I will also elaborate the many culprits and surprises that came along when I adapted C++20 coroutines for productive real world usage.

Комментарии

Информация по комментариям в разработке