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.
    ---
    *--*
    ---

Комментарии • 3

  • @MatthewChaplain
    @MatthewChaplain 8 лет назад +4

    To other viewers: Nicolai forgot to put his microphone on. Audio starts at ~ 4:00

  • @driftaaa
    @driftaaa 7 лет назад

    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.

  • @user-lp1nn6cs6f
    @user-lp1nn6cs6f Год назад

    the person who keeps interrupting seems quite conceited, always over-explaining over the speaker.