Author name: Chris Tsiaousis

Chris is an Electrical & Computer Engineer with a background in biomedical R&D, firmware, and software development. He writes about optimization, modern C++, and best practices in software engineering. He has been working at Stream HPC since January 2026.

Lazy Ranges in C++23 with Std::generator

Disclaimer: LLMs were used for proof-reading and grammar check. C++20 gave us coroutines. The machinery needed was included: co_yield, co_return, co_await but the standard library had no concrete coroutine types. You had to write your own promise type, your own iterator, your own bookkeeping. The complexity of this boilerplate was intimidating for most people. C++23

Lazy Ranges in C++23 with Std::generator Read More »