Modernizing Compiler Design for Carbon Toolchain
Offered By: CppNow via YouTube
Course Description
Overview
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
Related Courses
Computer ArchitecturePrinceton University via Coursera Introduction to Computer Architecture
Carnegie Mellon University via Independent Build a Modern Computer from First Principles: From Nand to Tetris (Project-Centered Course)
Hebrew University of Jerusalem via Coursera 计算机系统基础(一) :程序的表示、转换与链接
Nanjing University via Coursera Computer Architecture
Indian Institute of Technology Madras via Swayam