Foundations of C++ Coroutines: Resumable and Promise Mechanics
Master the low-level mechanics of C++ coroutines by understanding resumable types, promise objects, and state management through clear, step-by-step written examples.
-
💬
ИИ инструктор
Задавайте вопросы по любому уроку — понятный ответ придёт мгновенно, в любой момент. -
🕐
Начните в любое время
Без расписаний и дедлайнов — учитесь в своём темпе, когда удобно. -
🌐
На русском языке
Уроки, задания и сертификат — всё полностью на вашем языке.
О курсе
C++ coroutines are incredibly powerful for writing asynchronous code, but their low-level mechanics can feel overwhelming to grasp. This text-only course demystifies the underlying architecture by breaking down the essential components of coroutines into digestible, bite-sized concepts. You will transition from viewing coroutines as a black box to understanding exactly how the compiler transforms your code. By reading through minimal, clean examples, you will learn how to implement your own custom resumable types and promise objects from scratch.
What you'll learn:
- Understand the fundamental terminology of modern C++ coroutines and how they differ from standard functions.
- Configure custom promise objects to control coroutine behavior and return values.
- Implement resumable types to manage execution flow and suspend/resume states.
- Apply the co_await operator to build custom awaitable objects.
- Manage coroutine state and memory safely using standard coroutine handles.
- Analyze step-by-step execution flows to trace how data moves through suspended functions.
The course begins with foundational definitions of coroutine state and lifecycle before guiding you through the step-by-step implementation of a minimal, working coroutine. You will read detailed code explanations that illustrate how the compiler coordinates promise objects, awaiters, and the coroutine handle.
This course is designed for C++ developers who want to learn coroutines from the ground up. No prior experience with asynchronous C++ is required, though a basic familiarity with modern C++ syntax is helpful.
Start reading today to unlock the power of modern C++ coroutines.
Что вы получите
-
📜
Сертификат об окончании
Добавьте в профиль LinkedIn -
💬
Личный AI-наставник
Застрял на уроке? Спроси встроенного наставника о чём угодно, в любой момент. -
🎧
Аудиоверсия включена
Учитесь в дороге — экран не нужен -
♾️
Пожизненный доступ
Возвращайтесь в любое время, без срока -
📱
Телефон или компьютер
Работает везде и на любом устройстве -
💸
Возврат в течение 14 дней
Без вопросов -
⚡
Кратко и по делу
2 ч 54 мин практического материала
Отзывы
Отзывов пока нет — поделитесь своим первым.
Часто спрашивают
Что нужно для прохождения курса? +
Только смартфон или компьютер с доступом в интернет. Никаких установок и оборудования.
Как оплатить? +
Банковской картой через Stripe. Данные карты обрабатывает Stripe — мы их не храним.
Можно ли вернуть деньги? +
Да — полный возврат в течение 14 дней, без вопросов.
Как долго будут доступны материалы? +
Навсегда. После покупки курс остаётся с вами — возвращайтесь в любое время.
Получу ли я сертификат? +
Да. По окончании выдаётся сертификат, который можно добавить в профиль LinkedIn.
Подходит для специалистов в
IT
Дизайн
Финансы
Маркетинг
Медицина
Образование
HoReCa
Производство