C++ Coroutines at Scale - Implementation Choices at Google - Aaron Jacobs - C++Now 2024 @CppNow
C++ Coroutines at Scale - Implementation Choices at Google - Aaron Jacobs - C++Now 2024  @CppNow
Uploaded July 2024 | Updated December 2026, 3 hours ago
cppnow.org
---

C++ Coroutines at Scale - Implementation Choices at Google - Aaron Jacobs - C++Now 2024
---

Google is now using C++ coroutines to process billions of requests per second. This talk presents trade-offs and novel choices made in developing our coroutines library, and integrating it into the Google production environment. The talk covers both performance and semantic questions that affect usability and software engineering at scale.

Topics include:

- The importance of mandatory support for cancellation.
- Library and compiler support making it feasible to safely accept reference parameters in coroutines.
- The benefits and limitations of structured concurrency APIs.
- Unifying deadlines and cancellation.
- Stack-efficient async programming, including techniques for stack-efficient cancellation, and where the language is still missing features.
- Trade-offs between API usability and bounded parallelism executors.
- Propagation of "context" information like tracing and security credentials.
- Using coroutines to improve the usability of APIs for making and receiving streaming RPCs.
---

Slides: github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/Coroutines_at_scale.pdf


---

Aaron Jacobs

Aaron is a senior staff software engineer who has been at Google since 2008. He has worked on several large storage systems, and is particularly interested in async programming in C++. Outside of work he holds a private pilot license with aerobatics and spinning endorsements, and enjoys turning light airplanes upside down.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#boost #cpp #programming #softwareengineering #google
C++ Coroutines at Scale - Implementation Choices at Google - Aaron Jacobs - C++Now 2024Dependency Injection in C++ - A Practical Guide - Peter Muldoon - C++Now 2024C++ Magic Statics Demystified - History, Internals, Pitfalls, and Optimizations - C++Now 2026Zngur - Simplified Rust/C++ Integration - David Sankel - C++Now 2025Boost.Parser (Part 1 of 2) - A Parser Combinator Library for C++ - Zach Laine - C++Now 2024Lightning Talk: Submarines and Spies - Sherry Sontag - C++Now 2024Monadic Operations for Box-Like Types - Designing the Extensibility Model - Mikhail Svetkin - C++NowObject Oriented Programming in Contemporary C++ - Steve Downey - C++Now 2026Lightning Talk: Replace Git With JJ - Your New Version Control & DevOps Solution - Matt KulukundisC++ Reflection - Back on Track - David Olsen - C++Now 2024Lightning Talk: Printf in 1ns Using the Lightweight Logging Library - Greg Law - C++Now 2025Get A Sneak Peek Of C++Now 2024! Exclusive Interview With Michael Caisse By @cppevents!
CppNow |

C++ Coroutines at Scale - Implementation Choices at Google - Aaron Jacobs - C++Now 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER