Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive conference talk on C++ coroutines at scale, focusing on implementation choices made at Google. Delve into the trade-offs and novel approaches developed for their coroutines library, and learn how it was integrated into Google's production environment. Gain insights into processing billions of requests per second using C++ coroutines, covering both performance aspects and semantic considerations that impact usability and software engineering at scale. Examine topics such as mandatory cancellation support, safe reference parameter handling in coroutines, structured concurrency APIs, unified deadlines and cancellation, stack-efficient async programming, API usability trade-offs with bounded parallelism executors, context information propagation, and improved streaming RPC APIs using coroutines. Benefit from the expertise of Aaron Jacobs, a senior staff software engineer at Google, as he shares valuable insights and practical implementation choices for leveraging C++ coroutines in large-scale systems.