C++ Insights: Peak behind the curtains of your C++ compiler

C++ is not an easy language. While its intention, especially with the new Standards since C++11, is to shift more work from the developer to the compiler, this is sometimes perceived as opaque. Knowing what a statement does is vital not only in embedded software development. It is also essential while teaching C++ when questions come up like "when and where are operators involved" or "in which places do we get an implicit type conversion".

Some tools, like Matt Godbolt's Compiler Explorer or Clang's AST dump, can show us the resulting output. However, the resulting output is not C++. This makes it hard for a C++ developer to understand. As a C++ programmer, my first language is, after all, C++. The Clang-based tool C++ Insights (https://cppinsights.io) addresses this. It aims to show the source code with the eyes of a compiler through a source-to-source transformation where the resulting output is still C++. All the intentionally hidden things become visible.

In this talk, I will present how C++ Insights has evolved in the last few years. You will learn how C++ Insights can assist you with teaching or programming. Some awesome new educational transformations can help you understand constructs like C++20's coroutines or visualize object lifetime.

Image

Andreas Fertig

Andreas Fertig, CEO of Unique Code GmbH, is an experienced trainer and consultant for C++ for standards 11 to 23.

Andreas is involved in the C++ standardization committee, developing the new standards. At international conferences, he presents how code can be written better. He publishes specialist articles, e.g., for iX magazine, and has published several textbooks on C++.

With C++ Insights (https://cppinsights.io), Andreas has created an internationally recognized tool that enables users to look behind the scenes of C++ and thus understand constructs even better.

Before training and consulting, he worked for Philips Medizin Systeme GmbH for ten years as a C++ software developer and architect focusing on embedded systems.

You can find Andreas online at andreasfertig.com.

When

July 20-23, 2025

LinkedIn

CppNorth Group