Coroutine (C++)

Coroutines are lightweight and trivial to synchronize. They are perfect for small bits of incremental computation, like iterators and tokenizers. - Coroutines in C (2000) / HN

see also

  • Coros - a header-only C++23 library designed for task-based parallelism, that utilizes coroutines and the new expected type.
Written on November 2, 2023, Last update on September 27, 2024
c++ coroutine