Coroutines: C++ vs Rust - Jonathan Müller - ACCU 2022
Description:
Explore the differences between C++ and Rust coroutines in this conference talk from ACCU 2022. Delve into the implementation of stackless coroutines as compiler-generated state machines in both languages, focusing on their distinct approaches to asynchronous programming. Compare how C++ awaitables continue coroutines from the bottom up, while Rust wakers poll futures from the top down. Gain insights into the trade-offs and design choices made by each language, making this an ideal presentation for those interested in programming language design. Learn from Jonathan Müller, a Computer Science graduate student and open-source library developer, as he shares his expertise on memory allocation, cache-friendly containers, and parsing in C++.