Easy Senders/Receivers

By Lucian Radu Teodorescu

The P2300 std::execution proposal, informally known as senders/receivers, was formally incorporated into the C++26 working paper following the St. Louis meeting. While the proposal has existed for some time, many people still find the model challenging to use and difficult to teach.

This talk aims to demonstrate that senders and receivers are not as difficult to work with or teach as commonly perceived. Given the fundamental nature of the feature and the foundational areas it addresses, senders/receivers is actually an elegant proposal that may prove easier to use than suggested. This, however, requires the user to understand a few key concepts regarding senders.

We aim to clarify these key ideas, enabling the audience to “think” in terms of senders. We introduce senders/receivers in a gentle manner, using examples and analogies, gradually building complexity until we cover essential aspects of senders/receivers. By the end, we hope the audience will feel comfortable experimenting with senders/receivers. In addition to the primary P2300 proposal, we also intend to discuss related proposals that contribute to a robust ecosystem for asynchrony in the C++ standard.





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.