Overview
Explore a comprehensive conference talk on the Carbon Language, a proposed successor to C++, delivered by Chandler Carruth at CppNow 2023. Delve into the motivations behind Carbon's development, including the goal of bringing significant language improvements like memory safety to existing large-scale C++ codebases. Examine the tradeoffs between successor and superset language approaches, and discover how Carbon plans to achieve C++ interoperability by embedding the Clang C++ compiler directly into its toolchain. Learn about the challenges and solutions for complex cases such as C++ templates and C++20 concepts, as well as the strategy for bidirectional interoperability. Gain insights into Carbon's roadmap for enabling existing C++ codebases to incrementally and scalably achieve safety and security, with a focus on memory safety implementation without compromising performance.
Syllabus
Introduction
Carbon Language
Goals
Participation
Community Process
Milestones
Longterm Milestones
Successor vs Superset
Interop vs Superset
CPP Frontend
C compiler extensions
Interop vs Interop
Interop Limitations
C Interop
Initializing Expressions
Expression Patterns
Building Interop
C Code
Synthesis
LVM
More Functionality
Memory Safety
Terminology
Taught by
CppNow