Asynchronous C++

By Dietmar Kühl

With the components in std::execution (also known as Sender/Receiver) C++26 introduces a vocabulary for asynchronous operations. At the same time, it isn’t clear why asynchronous operations are important and how that is different from other technologies, like threads. Also, the specification for std::execution is rather complex and appears to be expert-only.

The objective of this talk is to explain the benefits of using asynchronous approaches for a wide range of applications and, as well as std::execution enables one to use the approach fairly easily. The focus will be on the usage and composition of asynchronous components rather than extending the existing facility with new functionality.

While std::execution provide the vocabulary for creation and composition of asynchronous operations, it doesn’t actually provide any asynchronous operations itself. To make its use more concrete for attendees, this talk will use simple implementations to demonstrate how it interacts with I/O, a database, etc., while only outlining how these use cases are implemented at a very high level.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.