The Price of Shared Pointers or Why Passing Them by Reference Can Be Useful
Offered By: CppNow via YouTube
Course Description
Overview
Explore the intricacies of shared pointers in modern C++ programming through this comprehensive conference talk. Delve into the often-overlooked costs associated with shared pointers, including the overhead of the control object and the performance impact of synchronization. Learn why counter-intuitive practices, such as passing shared pointers by reference, can be crucial for optimizing performance in critical scenarios. Gain a deeper understanding of the entire lifecycle and implications of shared pointers, equipping yourself with valuable insights to make informed decisions when using this fundamental feature of C++.
Syllabus
Nicolai Josuttis: The Price of Shared Pointers or Why Passing them by-reference can be Useful
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube