coco: a simple stackless, single-threaded, and header-only C++20 coroutine library
TL;DR
coco is a simple stackless, single-threaded, and header-only C++20 coroutine library that leverages native C++20 coroutines for async/await programming with Go-like channels and waitgroups.
https://github.com/kingluo/coco
Background Don’t communicate through shared memory, share memory through communication.
I have always been impressed by Golang’s CSP programming, which is very expressive and couples different business logic together through channels.
Jinhua Blog