A Priority Scheduler for Coroutines

In this post, I will extend the straightforward scheduler from Dian-Lun with priorities. This…

Coroutines: A Scheduler for Tasks by Dian-Lun Lin

The last post "A Concise Introduction to Coroutines by Dian-Lun Lin" provide the theory. Today, Dian-Lun…

A Concise Introduction to Coroutines by Dian-Lun Lin

Today, I will start a miniseries about a scheduler for tasks. The starting point of this miniseries…

The Ranges Library in C++20: More Design Choices

The ranges library in C++20 made due to performance reasons a few unique design choices. These choices…

The Ranges Library in C++20: Design Choices

Thanks to the ranges library, working with the Standard Template Library (STL) is much more comfortable…

C++20: More Details about Module Support of the Big Three

In my last post, "C++20: Module Support of the Big Three", I compiled a simple module with the Big Three.…

C++20: Module Support of the Big Three

I have written almost 100 posts about C++20 in the last four years, but I'm not done. This post continues…

Improved Iterators with Ranges

/
There are more reasons to prefer ranges library above the classical Standard Template Library. The ranges…

Sentinels and Concepts with Ranges Algorithms

/
The ranges library in C++20 supports sentinels. Sentinels stand for the end of a range and can be regarded…

Projections with Ranges

/
The algorithms of the ranges library are lazy, can work directly on the container, and can easily be…