C++20, Spans, Threads and Fun -- Bartlomiej Filipek
In this post, we’ll have fun using C++20’s spans to process data on multiple threads. What’s more, we’ll be equipped with the latest concurrency features from C++20.
C++20, Spans, Threads and Fun
by Bartlomiej Filipek
From the article:
Our task is relatively simple but can be extended to various multi-phase computations.
We need to initialize a container with numbers, filter them, then build a histogram.
Here’s the overview of the process:


We’re announcing a free early preview of CLion, which uses the ReSharper C++/Rider C++ language engine instead of the CLion "legacy" engine. The Preview build is available via our dedicated Toolbox App feed. At some point in 2024, depending on the results of the feedback collected, CLion Nova will be merged into CLion. Until then, the Preview build will be free to use and can be installed in parallel with your usual CLion (Classic) installation.
A new episode of the series about SObjectizer and message passing: