Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ as a Metacompiler - Exploring Compile-Time Language Processing

CppNow via YouTube

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

Reviews

Start your review of C++ as a Metacompiler - Exploring Compile-Time Language Processing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.