Simple use cases for Coroutines

Speaker: Andreas Reischuck

Audience level: [ Intermediate | Advanced ]

Are you intrigued by C++20 coroutines but unsure how to apply them in your projects? This talk demystifies coroutines by showcasing their practical benefits in two real-world scenarios, without diving into complex libraries or intricate details.
We'll explore:

  1. Streamlining REST API interactions: Learn how coroutines can simplify asynchronous operations, eliminating callback hell and complex state management in a data acquisition application.
  2. Enhancing multi-threaded workloads: Discover how coroutines can revolutionize your approach to Asynchronous Procedure Calls (APC) on Windows, leading to cleaner memory management and a more intuitive architecture.

Through these examples, you'll gain insights into:

  • Identifying opportunities for coroutine usage in your existing codebase
  • Practical implementation strategies for coroutines
  • The tangible benefits of adopting coroutines, including improved code readability and maintainability

Walk away with the knowledge and confidence to leverage C++20 coroutines for immediate improvements in your projects. This talk is perfect for C++ developers looking to enhance their codebases with modern, efficient solutions.