Dynamic and Static Polymorphism

Polymorphism is the property that different types support the same interface. In C++, we distinguish between dynamic polymorphism and static polymorphism.

Read more
Views: 12044

constexpr if

In today's post, I want to introduce a very interesting C++17 feature: constexpr if. constexpr if enables it to conditionally compile source code and can also be used for nice tricks at compile time.

Read more
Views: 5381

More Information about my Mentoring Program "Fundamentals for C++ Professionals"

One month ago, I presented "My Mentoring Program "Fundamentals for C++ Professionals". I'm overwhelmed by how my people want to participate in this first iteration of my mentoring program. What should I say? Today, I want to give you more details.

Read more
Views: 2616

constexpr and consteval Functions in C++20

With C++20, constexpr became way more powerful. Additionally, we have  consteval functions in C++20 that are quite similar to constexpr functions.

Read more
Views: 6799

constexpr Functions

Today, I continue my story about programming at compile time. After template metaprogramming, the type-traits library, today's topic is constexpr functions in particular.

Read more
Views: 6382

Dining Philosophers Problem III

This post ends the mini-series about the dining philosophers problem by Andre Adrian. Today, he applies powerful locks and semaphores.

Read more
Views: 3374

An Update of my Book "Concurrency with Modern C++"

I am happy to announce. I updated my "Concurrency with Modern C++". This update includes a rework of the C++20 topics, a new case study, and a new chapter about lock-free data structures. Now, you get about 700 pages and more than 200 runnable programs to study the theory in practice.
Here is more info: https://leanpub.com/concurrencywithmodernc       Read more
Views: 7157

Dining Philosophers Problem II

In the last post "Dining Philosophers Problem I", Andre Adrian started his analysis of the classical dining philosophers' problem. Today, he uses atomics, mutexes, and locks.

Read more
Views: 2783

The New pdf Bundle is Ready: C++20 Concurreny - The Hidden Pearls

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

Read more
Views: 3404

Dining Philosophers Problem I

At Christmas time, I had a few nice discussions with Andre Adrian. He solved the classical dining philosopher's problem in various ways using modern C++. I'm convinced him to write an article about this classic synchronization issue, and I'm happy to publish it in three consecutive posts.

Read more
Views: 9019

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

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 537

Yesterday 6623

Week 7160

Month 145552

All 9425575

Currently are 146 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments