Attending this event?
CppNorth 2024, The Canadian C++ Conference
July 21-24, 2024 • Toronto, Canada
At the Microsoft Canadian Headquarters (Suite 4400)
In: CIBC SQUARE, 81 Bay St., Toronto, ON M5J 0E7, Canada
Monday July 22, 2024 11:00 - 12:00 EDT
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.
avatar for Andreas Fertig

Andreas Fertig

Unique Code GmbH
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... Read More →
Monday July 22, 2024 11:00 - 12:00 EDT
Track C

Attendees (4)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link