Statically Checked

static_assert is the tool in modern C++ to make you code safe.

Read more
Comments 1Views: 9314

{}-Initialization

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

Read more
Comments 7Views: 51393

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
Comments 3Views: 7199

Facts

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

Read more
Comments 1Views: 7474

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
Comments 4Views: 8139

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
Comments 72Views: 10014

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
Comments 2Views: 22532

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
Comments 3Views: 105649

Time Duration

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

Read more
Tags: time
Comments 3Views: 18716

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2924

All 2667427

Currently are 174 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments