Blogs / Personal blogs

Rainer Grimm

modernescpp.com

Popular posts
5
Total points
829
HN comments
816
Rank
#2,755 personal

Visit modernescpp.com → RSS feedOn Hacker News Apr 2016 – Oct 2025

Programming Languages 4Software Engineering 3Systems & Performance 2Life, Learning & Writing 1

3

Multithreading in modern C++

With the new C++11 Standard, C++ faces the first time challenges of multicore architectures. The 2011 published standard defines how a C++ program has to behave in the presence of multiple threads. The C++11 multithreading capabilities are composed of two components. This is, on the one hand, the defined memory model…

4

Latches in C++20

Latches and barriers are coordination types that enable some threads to wait until a counter becomes zero. You can use a std::latch only once, but you can use a std::barrier more than once. Today, I have a closer look at latches.