{}-Initialization

The initialization of variables was uniformed in C++11. The rule is quite simple. {}-Initialization is always applicable. 

Read more
Views: 79074

auto-matically inititialized

Probably the most frequently used feature of C++11 is auto. Thanks to auto the compiler determines the type of a variable from its initializer. But what is the point with safety critical software? 

Read more
Views: 8721

Facts

After the myths the facts will follow. Therefore, we leave the area of half truth and untruth statements about C++.

Read more
Views: 9099

Myths

As I started working in the embedded environment I was astonished that there were so much prejudice against the usage of C++ in the embedded programming. The most are based on a wrong understanding of the programming language C++.

 

Read more
Views: 9636

Requirements of Embedded Programming

Bjarne Stroustrups FAQ makes it crystal clear. One of the design goals for C++11 was it to make C++ even better for the embedded world.

Read more
Views: 12371

Sleep and wait

The new time library is an important component of the threading interface. As well threads, locks, condition variables as future have an understanding of time. All four have in common that they can sleep, wait or block until a time point or for a time duration.

Read more
Tags: time
Views: 32477

The Three Clocks

A clock consists of a starting point and a time tick. C++ offers with std::chrono::system_clock, std::chrono::steady_clock, and std::chrono::high_resolution_clock three clocks.

Read more
Tags: time
Views: 116660

Time Duration

A time duration is the difference between two time points. It will be measured in time ticks.

Read more
Tags: time
Views: 24160

Time Point

The time point is defined by the starting point (epoch) and the additional time duration. It consists of the two components clock and time duration.

Read more
Tags: time
Views: 18825

The time Library

A blog, dealing with multithreading in modern C++ but not writing about the new time library is not complete. Especially, because I often used the time library in my posts to measure the performance of short code snippets. Therefore, I give in this post an overview of the components of the time library: time point, time duration, and clock. I will write in additional posts about each of this three components.

Read more
Tags: time
Views: 6654

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 389

All 3632882

Currently are 214 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments