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.
-
💬
Instrutor de IA
Pergunte sobre qualquer aula e receba uma resposta clara na hora, quando quiser. -
🕐
Comece quando quiser
Sem horários nem prazos: aprenda no seu ritmo, quando quiser. -
🌐
Em português
Aulas, tarefas e certificado: tudo totalmente no seu idioma.
Sobre este curso
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.
O que você vai receber
-
📜
Certificado de conclusão
Adicione ao seu perfil do LinkedIn -
💬
Tutor AI pessoal
Travou em uma aula? Pergunte ao seu tutor integrado qualquer coisa, a qualquer hora. -
🎧
Versão em áudio incluída
Estude em qualquer lugar, sem tela -
♾️
Acesso vitalício
Volte quando quiser, sem expirar -
📱
Celular ou computador
Funciona em qualquer dispositivo -
💸
Reembolso em 14 dias
Sem perguntas -
⚡
Curto e focado
2 h 54 min de conteúdo prático
Avaliações
Ainda não há avaliações — seja o primeiro a compartilhar sua experiência.
Perguntas frequentes
O que preciso para fazer este curso? +
Só um celular ou computador com internet. Sem instalações nem hardware especial.
Como faço para pagar? +
Com cartão via Stripe. Não guardamos dados do cartão — o Stripe processa com segurança.
Posso pedir reembolso? +
Sim — reembolso integral em 14 dias, sem perguntas.
Por quanto tempo terei acesso? +
Para sempre. Uma vez comprado, o curso é seu para revisar quando quiser.
Vou receber um certificado? +
Sim. Ao concluir, você recebe um certificado que pode adicionar ao seu perfil do LinkedIn.
Feito para profissionais em
Tecnologia
Design
Finanças
Marketing
Saúde
Educação
Hotelaria
Indústria