Building Custom Task Types with C++ Coroutines
For C++ developers, master the underlying mechanics of coroutines by designing robust, reusable Task and Promise types for asynchronous workflows.
-
💬
Instruktor AI
Zadawaj pytania o każdą lekcję i otrzymuj jasną odpowiedź od razu, o każdej porze. -
🕐
Zacznij kiedy chcesz
Bez harmonogramów i terminów — ucz się we własnym tempie, kiedy chcesz. -
🌐
Po polsku
Lekcje, zadania i certyfikat — wszystko w pełni w Twoim języku.
O tym kursie
C++ Coroutines unlock powerful asynchronous patterns, but understanding how to wrap them into reusable Task types is essential for writing production-ready concurrent code. This course guides you through the process of designing the fundamental promise_type and Task wrapper necessary to manage coroutine state, suspension, and resumption safely, preparing you to write high-performance asynchronous applications.
What you'll learn:
* Understand the core components of C++ Coroutines: promises, handles, and initial/final suspend points.
* Design and implement custom Task types capable of handling both value-returning and void-returning coroutines.
* Practice managing coroutine lifetime and ensuring safe resource cleanup using modern C++ principles.
* Apply key concepts like the Awaitable pattern and the co_await mechanism for controlling execution flow.
* Configure coroutine resumption logic to integrate custom execution contexts for non-blocking operations.
The material starts with foundational definitions and the coroutine lifecycle, then moves into the practical implementation of the required types. You will build a complete, working Task type from scratch, focusing on the underlying mechanisms of suspension and resumption. This course is ideal for intermediate C++ programmers who are new to the C++20 Coroutines feature and want to deeply understand how asynchronous libraries are constructed. No prior experience with coroutines is needed.
Start mastering the building blocks of C++ concurrency today.
Co otrzymasz
-
📜
Certyfikat ukończenia
Dodaj do profilu LinkedIn -
💬
Osobisty tutor AI
Utknąłeś na lekcji? Zapytaj wbudowanego tutora o cokolwiek, w dowolnej chwili. -
🎧
Wersja audio w zestawie
Ucz się w drodze — bez ekranu -
♾️
Dożywotni dostęp
Wracaj, kiedy chcesz — bez wygaśnięcia -
📱
Telefon lub komputer
Działa wszędzie, na każdym urządzeniu -
💸
Zwrot w 14 dni
Bez pytań -
⚡
Krótko i konkretnie
2 godz 54 min praktycznej treści
Recenzje
Brak recenzji — bądź pierwszą osobą, która podzieli się doświadczeniem.
Najczęstsze pytania
Czego potrzebuję, by wziąć udział w tym kursie? +
Wystarczy telefon lub komputer z internetem. Bez instalacji i specjalnego sprzętu.
Jak zapłacić? +
Kartą przez Stripe. Nie przechowujemy danych karty — robi to bezpiecznie Stripe.
Czy mogę otrzymać zwrot? +
Tak — pełen zwrot w 14 dni, bez pytań.
Jak długo będę mieć dostęp? +
Na zawsze. Po zakupie kurs jest twój — wracaj, kiedy chcesz.
Czy dostanę certyfikat? +
Tak. Po ukończeniu otrzymasz certyfikat, który możesz dodać do profilu LinkedIn.
Stworzony dla uczących się w
IT
Design
Finanse
Marketing
Ochrona zdrowia
Edukacja
Hotelarstwo
Produkcja