Free AI-powered learning to build in-demand skills
35% Off Finance Skills That Get You Hired - Code CFI35
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the complexities and pitfalls of C++ smart pointers in this comprehensive 53-minute conference talk from C++ on Sea 2025. Dive deep into modern C++ memory management as you learn about the power and hidden dangers of smart pointers, from unique_ptr ownership issues to shared_ptr reference cycles that can trap even experienced developers. Begin with a review of raw pointers and their continued relevance before examining unique_ptr, shared_ptr, and weak_ptr in detail, understanding how they work, when to use them, and how they can lead to memory leaks, undefined behavior, or performance problems. Discover aliasing surprises, control block overhead, exception safety risks, and lesser-known optimizations introduced in C++20 and beyond. Gain practical insights through real-world mistakes, debugging horror stories, and solutions using Address Sanitizer, static analysis tools, and modern C++ techniques. Learn from Khushboo Verma, a software engineer at Appwrite with extensive experience in C++ development at Microsoft and Adobe, as she shares her expertise in cloud computing, backend engineering, and distributed systems to help you write memory-safe, performant code while avoiding common smart pointer traps.
Syllabus
Smart Pointers in C++ - Khushboo Verma - C++ on Sea 2025
Taught by
cpponsea