CppCast cover image

CppCast

Safe, Borrow-Checked, C++

May 31, 2024
Sean Baxter, known for implementing a borrow checker in C++, discusses addressing safety issues similar to Rust using his Circle compiler. The podcast covers topics like the noisy class, updates on the final keyword, and upcoming conference news. They explore memory safety, unique pointers, move semantics, and transitioning to safe primitives for enhanced safety in C++. The conversation delves into challenges and benefits of incorporating memory safety features through borrow checking and comparing C++ to Rust.
01:09:10

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Implementing borrow checker in C++ for memory safety akin to Rust's approach.
  • Introduction of new mechanics like REL keyword and choice type for memory safety enhancements.

Deep dives

Borrowed Checker Implementation in C++

The podcast episode delves into the development of a borrowed checker addition to C++. With a memory-safe C++ toolchain in mind, Sean Baxter discusses replacing the object model and expanding the type system to enhance memory safety. By implementing rigorous memory safety akin to Rust in C++, compatibility with existing code is maintained while ensuring safety during compile-time through analyzed control flow graphs and metadata.

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