CppCast cover image

CppCast

CppCon 2024 Live Special

Sep 20, 2024
Sean Baxter, known for his groundbreaking work on Safe C++, and Andrei Alexandrescu, a leading voice in the C++ community, join in an engaging discussion about the latest in C++ standards and safety. They delve into Clang 19.1 updates, emphasizing the need for safety in coding. The duo explores the balance of old code with new safety features and AI integration in C++. Plus, reflections on podcasting experiences reveal the chaos and evolution of coding, along with a nod to boosting community inclusivity and upcoming events.
54:41

Podcast summary created with Snipd AI

Quick takeaways

  • The release of Clang 19 signifies major advancements in C++ support, including enhancements for C++ 17 and the introduction of features from C++ 26.
  • Sean Baxter's proposal for Safe C++, aiming to improve memory safety in C++, seeks to integrate a borrow checker into the C++ standard.

Deep dives

Clang 19 Release Highlights

The release of Clang 19 is highlighted as a significant event, showcasing six months of development from the LLVM community, which involved over 1,500 authors and numerous commits. Key improvements include complete support for C++ 17, which had previously been lacking a specific feature since 2016, and enhancements to C++ 20 modules with proper import functionality. Notable implementations include a fix for the range-based for loop that addresses potential undefined behavior, as well as the introduction of the 'assume' attribute, which many developers find beneficial. Additionally, features from the upcoming C++ 26 draft, such as pack indexing, have also been implemented, making Clang 19 a forward-looking update for C++ developers.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner
Get the app