Malicious Race Conditions and Data Races

This post is about malicious race conditions and data races. Malicious race conditions are race conditions that cause the breaking of invariants, blocking issues of threads, or lifetime issues of variables.

Read more
Add CommentViews: 1174

Looking for Proofreaders for my new Book: Concurrency with Modern C++

I'm looking for proofreaders of my new book. I'll give you a detailed insight in the current and the upcoming concurrency in C++. This insight includes the theory and a lot of practice.

Read more
Comments 2Views: 2978

Race Conditions versus Data Races

Race conditions and data races are related but different concepts. Because they are related, they are often confused. In German we even translate both expressions with the term kritischer Wettlauf. To be honest, that is very bad. In order to reason about concurrency, your wording must be exact. Therefore, this post is about race conditions and data races.

Read more
Add CommentViews: 1687

C++17: Improved Associative Containers and Uniform Container Access

C++11 has eight associative containers. With C++17, you can more comfortably insert new elements into them, merge existing associative containers, or move elements from one container into another if they are similar. But that is not all. The access to the associative and sequential container was unified.

Read more
Tags: C++17
Add CommentViews: 1403

C++17: New Parallel Algorithms of the Standard Template Library

The idea is quite simple. The Standard Template (STL) has more than 100 algorithms for searching, counting, and manipulation of ranges and their elements. With C++17, 69 of them are overloaded and a few new are added. The overloaded and new algorithm can be invoked with a so-called execution policy. By using the execution policy, you can specify whether the algorithm should run sequential, parallel, or parallel and vectorized.

Read more
Tags: C++17
Comments 4Views: 5678

C++17 has a Visitor

What have std::optional, std::any, and std::variant in common? You can construct them in-place. But that is not all. A std::variant supports a visitor.

Read more
Tags: C++17
Add CommentViews: 4603

Get the Current Pdf Bundle: Concurrency with C++17 and C++20

I have prepared the pdf bundle. To get it is quite simple.

Read more
Add CommentViews: 2922

My Newest E-Book

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 353

All 329887

Currently are 148 guests and no members online