Inheritance Without Pointers--Jonathan Boccara

What do you think?

Inheritance Without Pointers

by Jonathan Boccara

From the article:

Inheritance is a useful but controversial technique in C++. There is even a famous talk by Sean Parent called Inheritance is the base class of evil. So inheritance is not the most popular feature of the C++ community.

Nevertheless, inheritance is useful, and widely used by C++ developers.

What is the problem of inheritance? It has several problems, and one of them is that it forces us to manipulate objects through pointers...

Advanced Modern C++ -- Mateusz Pusz

We are happy to announce the next edition of a really well-rated Advanced Modern C++ training by Mateusz Pusz. If you would like to better understand the C++ language rules, improve your design and implementation skills, practice C++ templates, and get more experience with the Modern C++ please do not hesitate to register for an online training on March 22, 2021.

Advanced Modern C++

by Mateusz Pusz

From the article:

Training Highlights

  • Emphasis on understanding the philosophy and mechanisms of the C++ programming language and learning how to reuse this knowledge in own code
  • Particular focus on the usage of the C++ templates in practical tasks
  • Development of error-unfriendly code
  • Selection of useful patterns and techniques that prove in a demanding production code

Training Agenda

  • C++ Basics for Experts
  • Coding with performance in mind
  • Utilities that every C++ developer should know and use
  • Templates demystified

More detailed agenda can be found on the Train IT website.

Date: March 22 - 25, 2021

Location: Online training

Instructor: Mateusz Pusz

Target Audience: Developers, Architects

Level: Intermediate, Advanced

Matching Text -- Richard Thomson

Utah C++ Programmers has released a video on Matching Text:

Matching Text in C++

by Richard Thomson

From the video description:

Many times in our code we need to validate a given piece of text against some pattern. We may only interested in validating that the text matches or we may be interested in extracting matched substrings from the whole string. We can write code from scratch to perform this matching or we can use libraries to tackle the problem. What library options are available to us in C++?

This month, Richard Thomson will give us a sampling of different methods we can use to attack the problem.

YouTube: https://www.youtube.com/watch?v=5FJvF41B8R4

Inlining and Compiler Optimizations--Scott Wolchok

The complicated world of optimisations.

Inlining and Compiler Optimizations

by Scott Wolchok

From the article:

Why is inlining so important in C++? Clearly, it reduces function call overhead: if a function is inlined, there is no need to spend time setting up its arguments, jumping to it, creating a stack frame, and then undoing all that upon returning. More interestingly, though, inlining enables other compiler optimizations. In this article, I will show examples of constant propagation and loop-invariant code motion (LICM). Then, I will explain how inlining enables these optimizations to apply more widely and show an example of the consequences when that doesn’t happen...