Posts

Executing a Future in a Separate Thread with Coroutines

/
This post concludes my posts about co_return in C++20. I started with an eager future, and continued…

Lazy Futures with Coroutines

/
Based on the coroutines-based implementation of a simple future in my last post "Implementing Simple…

Implementing Simple Futures with Coroutines

/
Instead of return, a coroutine uses co_return returning its result. In this post, I want to implement…

C++20: Thread Pools with cppcoro

/
This post is the third and final post in my miniseries to cppcoro. cppcoro is a library of coroutine…

C++20: Powerful Coroutines with cppcoro

/
I gave in my last post, "C++20: Coroutines with cppcoro", a basic introduction to the coroutines library…

C++20: Coroutines with cppcoro

/
The cppcoro library from Lewis Baker gives you what C++20 doesn't: a library of C++ coroutine abstractions…

C++20: Thread Synchronization with Coroutines

/
It's a typical requirement for thread management to synchronize them. One thread prepares, in this case,…

C++20: An Infinite Data Stream with Coroutines

/
My story to coroutines in C++20 goes on. Today I dive deep into the coroutines framework to create an…

C++20: More Details to Coroutines

/
After I gave you in my last post (C++20: Coroutines - A First Overview) my first impression of coroutines,…

C++20: Coroutines – A First Overview

/
C++20 provides four features that change how we think about and write modern C++: concepts, the ranges…