Coroutine Patterns: Problems and Solutions in Modern C++ Codebases
Offered By: CppCon via YouTube
Course Description
Overview
Explore common patterns and pitfalls in C++ coroutines through this 31-minute CppCon conference talk. Delve into effective solutions for managing resources, synchronization challenges, and potential issues in heavily coroutinized codebases. Learn how to write correct code using coroutines, with examples based on Facebook's Folly implementation. Gain insights applicable to various coroutine implementations, suitable for both experienced practitioners and those considering introducing coroutines to their projects.
Syllabus
Intro
Agenda
Motivation
Tasks and Executors
Executor
Lifetime
Game
Keeping objects alive
Scheduling the background
ASN scope
Exceptions
Cleanup
Synchronization
Mutexes
Coroutine Locks
Conclusion
Taught by
CppCon
Related Courses
Computing: Art, Magic, Science - Part IIETH Zurich via edX Web Application Development: Basic Concepts
University of New Mexico via Coursera Web Application Development: The Presentation Tier
University of New Mexico via Coursera Técnicas Avançadas para Projeto de Software
Instituto Tecnológico de Aeronáutica via Coursera Programmation objet immersive en Pharo
Inria (French Institute for Research in Computer Science and Automation) via France Université Numerique