Nicolai Josuttis: The Price of Shared Pointers or Why Passing them by-reference can be Useful
HTML-код
- Опубликовано: 12 сен 2024
- Shared pointers play a fundamental part of modern C++ programming. However, they come with a price. The price usually known is the overhead of the control object, which can became even more expensive if make_shared() is used. But there is an additional price that can play an important role if good performance is key: synchronization. As a consequence counter-intuitive things such as passing shared pointers by reference can become important. This talk discusses the whole story of shared pointers.
---
*--*
---
To other viewers: Nicolai forgot to put his microphone on. Audio starts at ~ 4:00
I am sorry but this talk raised more questions than it answered. I'm just as, or maybe even more confused than I was before I watched the video.
the person who keeps interrupting seems quite conceited, always over-explaining over the speaker.