Arvid Norberg: The C++ memory model: an intuition

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 17

  • @alexeysubbota
    @alexeysubbota Рік тому +3

    The most useful and practical explanation I've ever seen on the Internet! Thanks for the presentation!

  • @belalibrahim7501
    @belalibrahim7501 Рік тому +2

    Very mesmerizing illustration!

  • @AtomicCache1
    @AtomicCache1 Рік тому +4

    This video clarified many things, thanks 😇😇

  • @qiushizheng9208
    @qiushizheng9208 7 місяців тому

    best tutorial for the freshmen to learn the basic idea of memory model and memory barrier!!!

  • @HelloMisraji
    @HelloMisraji 3 місяці тому

    I knew about the LOAD/STORE itself and their significance. But great job on presenting the concept as a model. Thanks!

  • @davidli2745
    @davidli2745 2 роки тому +5

    A very easy-to-understand lesson, thanks!

  • @quant-prep2843
    @quant-prep2843 2 роки тому +3

    wow, absolutely smashed this one!! thanks a lot

  • @evgenyyakut2716
    @evgenyyakut2716 Рік тому +7

    I appreciate the intuitive model for atomics, though I was a bit disappointed by the speaker showing shaky understanding of the atomics, which was leaking into the presentation and some takeaways. "memory_order_relaxed is most likely a bug" is simply not true. When two threads talk to each other by means of a single atomic variable (and nothing else) it is acceptable to use memory_order_relaxed. The phrase "last resort" also didn't make sense to me. I'm assuming they meant that we should use the safest things first, optimizing as we see fit, but that wasn't clear to me at first.

  • @abhijitiitr
    @abhijitiitr 5 років тому +5

    Good and concise talk.

  • @aerobooxt
    @aerobooxt 4 роки тому +1

    I'm learning this subject, great talk!

  • @Quancept
    @Quancept 4 роки тому +3

    Wow! great video. Wish it was a bit longer, including the audience discussions.

  • @eyyo3571
    @eyyo3571 2 роки тому

    What is "ready" at 9:12

    • @ShtacketT
      @ShtacketT 2 роки тому +1

      Atomic flag indicating that w was initialized.

  • @anna7sept
    @anna7sept 3 роки тому +4

    Herb Sutter's talk is available at ua-cam.com/video/A8eCGOqgvH4/v-deo.html

  • @isaaclacoba4458
    @isaaclacoba4458 3 роки тому +4

    The title is misleading as the talk is about multi-thread synchronisation and atomic variable; either way, really good video. Thanks for sharing!

  • @shunxiancai5878
    @shunxiancai5878 Рік тому

    Title should've been "memory orders"

  • @sTammoi
    @sTammoi 4 роки тому

    Kappa