raii
30:12Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmer
162K views • 2 years ago
xDahl
Casey Muratori argues against smart pointers and RAII, advocating grouped-element thinking, zero-is-initialization and stubs as better ways to structure memory and handle errors.
1:07:35CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"
102K views • 11 years ago
CppCon
Andrei Alexandrescu's CppCon 2015 talk on handling exceptional control flow declaratively in C++. It uses scope guards with success and failure variants, built on std::uncaught_exceptions, to replace ad hoc RAII classes and rethrowing try/catch blocks.
1:39:25CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”
149K views • 10 years ago
CppCon
Herb Sutter's CppCon 2016 talk on lifetime safety in C++, aiming for code free of leaks and dangling pointers by default. It covers smart pointers, ownership, reference counting pitfalls and deferred reclamation resembling garbage collection.