The existential threat against C++ and where to go from here
summary
Government agencies (NSA, CISA, White House) push for migration away from C/C++ toward memory-safe languages, citing systemic memory-safety failures; Google pilots rewriting high-risk components in Rust and Linux and Microsoft add Rust support. C++ cannot become safely memory-safe without removing undefined behavior, adding a borrow checker, and replacing large parts of the standard library. Circle demonstrates a C++-compatible borrow checker + new standard library prototype that requires code restructuring to pass; Carbon plans interoperability first and safety later, so migration is incremental and costly.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:30Memory safety problem in C++
- 3:40Government warnings
- 6:31Industry shifts to memory-safe
- 8:15Memory safety in C++
- 13:11Why memory safety is hard
- 14:20C++26 security limits
- 17:56C++ existential crisis
- 19:22Alternatives for new projects
- 23:13Requirements for replacement
- 24:42Circle fork overview
- 27:32Circle or Carbon in standard
- 29:16Migrating to Carbon challenges
- 31:01Wait for new languages?
- 31:42C++ no longer right tool
- 33:52Recommendations for C++ devs
- 35:17Gradual migration strategies
- 37:47Change management
- 43:23Q&A
related talks
01h 04mC++ and Safety
53mFrom Chaos to Control: Overcoming C and C++’s Inherent Unsafety
01h 28mKeynote: Safety, Security, Safety and C / C++ - C++ Evolution
06mHow We Replace Common C and C++ Libraries
01h 06mSecurity Beyond Memory Safety - Using Modern C++ to Avoid Vulnerabilities by Design
43mC++ and Security: Can We Do Better?
54mKeynote: Safety in C++: All the Safeties!
01h 01mSoftware Security
