C++ Core Guidelines: More Rules to Concurrency and Parallelism

Writing multithreading programs is hard, even harder if the program should be correct. The rules of the C++ Core Guidelines guide you to write correct programs. The rules of this post will deal with data races, sharing of data, tasks, and the infamous keyword volatile.

Read more
Add CommentViews: 9963

C++ Core Guidelines: Rules for Concurrency and Parallelism

C++11 is the first C++ standard that deals with concurrency. The basic building block for concurrency is a thread; therefore, most of the rules are explicitly about threads. This changed dramatically with C++17.

 

Read more
Add CommentViews: 4580

C++ Core Guidelines: The Remaining Rules to Performance

Today, I will write about the remaining 10 rules to performance. Ten rules seem to be a lot but only two of them have actual content.

Read more
Add CommentViews: 2741

The new pdf bundle is ready: Functional Features in C++

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

Read more
Add CommentViews: 2741

C++ Core Guidelines: More Rules to Performance

In this post, I continue my journey through the rules to performance in the C++ Core Guidelines.  I will mainly write about design for optimisation.

Read more
Add CommentViews: 6591

The Truth about "Raw Pointers Removed from C++"

Five bloggers have teamed up around the world to deliver an April Fool's joke to readers about eliminating pointers. The response to the five articles was huge and ranged from "it took so long" to "that can not be true".  Here again the truths, half-truths and untruths: No New New: Raw Pointers Removed from C++.  You can even read this post in German or in Russian

Read more
Add CommentViews: 13774

No New New: Raw Pointers Removed from C++

Two weeks ago, the ISO C++ standard meeting took place in Jacksonville.  Today I want to make a short detour and write about the revolutionary decision that was made in the Jacksonville meeting. Additionally, I refer to the post C++ Will no Longer Have Pointers by Fluent C++. The standard committee decided that pointers will be deprecated in C++20 and will with very high probability be removed in C++23.

Read more
Comments 3Views: 44584

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2665

All 1019839

Currently are 250 guests and no members online

Kubik-Rubik Joomla! Extensions