Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive conference talk on modernizing compiler design for the Carbon toolchain, delivered by Chandler Carruth at CppNow 2023. Delve into the limitations of traditional compiler designs and discover innovative approaches leveraging modern computer architectures and data-oriented design principles. Learn about new design patterns implemented in the Carbon compiler, aimed at achieving unprecedented compile times for C++-like languages. Gain insights into specific programming techniques, challenges overcome, and the interplay between compiler implementation and language grammar design. Understand how these advancements in compiler architecture can lead to improved performance and flexibility in modern programming language toolchains.
Syllabus
Introduction
Traditional Compiler Design
Lexing
Parser
Parse
Semantic Analysis
Lowering
Compiler Architecture
Incremental Architecture
Locality
Small ASTs
Claim Specific Representation
Really Fast Compiler Times
Focus on Speed
Challenges
Budgets
Latency Numbers
Memory Allocation
Memory Density
Data Structures
Advantages
DataOriented Lexing
Token Representation
Parsec
Visualization
Taught by
CppNow