Carbon Language: An experimental successor to C++
summary
Carbon describes an experimental successor to C++ that prioritizes interoperability with existing C++ by driving a Clang/LLVM front end to synthesize Carbon ASTs, targets a C++17 baseline, and uses GitHub PRs plus a Google CLA while three leads govern. Language specifics include introducer keywords (fn, var), package-local root namespaces, members public by default, single-inheritance with final classes, pointers non-null by default, and definition-checked generics with explicit interfaces and allowed external impls. A demo implementation (the Carbon Explorer on Compiler Explorer) compiles and traces semantic evaluation but the compiler is unfinished.
AI-written summary · about
chapters (8)
- 0:00Introduction and C++ future
- 5:43Why C++ struggles today
- 10:13Introducing Carbon Language
- 26:38Carbon language design goals
- 35:06Carbon project status
- 39:57Carbon demo and compiler explorer
- 41:01Is Carbon the answer?
- 41:46Q&A session begins
related talks
58mC++: what comes next?
01h 07mThe Carbon Language: Road to 0.1
01h 01mHow Designing Carbon C++ Interop Taught me About C++ Variadics & Bound Members
37mMemory Safety Everywhere with Both Rust and Carbon
39mRust, zig and carbon: Hype, hope or hell programming languages?
54mA look at C++ through the glasses of a language tool
01h 03mBenchmarking and optimizing the Carbon compiler
01h 48m“Meta: Thoughts on generative C++”
