Overview
Explore a 45-minute conference talk from C++Now 2024 that delves into the concept of C++ as a metacompiler. Learn how C++17 and higher versions provide grammatical tools supporting meta compilation, enabling the creation of domain-specific languages embedded in string literals. Discover the paradigm of self-similarity in compile-time lexing, parsing, and translating, as well as the generation of meta assembly code analogous to object code. Understand how this meta assembly can be utilized by a general-purpose compile-time engine to create constexpr functions for both compile-time and run-time use. Gain insights into the benefits and applications of this programming style, presented by Daniel Nikpayuk, an Inuvialuk developer building a programming language for Indigenous multimedia and storytelling.
Syllabus
C++ is a Metacompiler - Daniel Nikpayuk - C++Now 2024
Taught by
CppNow