Getting Started with Senders and Receivers

By James Pascoe

The Sender / Receiver (std::execution) model is a framework for managing asynchronous execution on generic execution resources. Whilst there are several good introductions to Senders and Receivers, these tend to be complex technical 'deep-dives' which provide lots of low-level detail, but obscure the high-level concepts and make it difficult to relate Senders and Receivers to the other asynchronous abstractions in C++.

This talk provides a lightweight Sender / Receiver 'getting started' primer, which will introduce the key concepts (through code examples) and provide contextualisation in relation to other relevant Modern C++ abstractions, such as, coroutines and the on-going work in the Networking TS. The talk concludes by providing links to further resources and gives a look ahead to future work.

Source code for all of the examples will be available on GitHub, the intention being to provide the audience with a starting point for their own experiments.





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.