Introduction to Lock-free Programming - Tony van Eerd

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

ความคิดเห็น • 10

  • @QuasiUnlimited
    @QuasiUnlimited 9 หลายเดือนก่อน +1

    Great talk! The GOTO killed me at 16:00 but it make total sense, like you said in lock-free world forget everything you know 😀

  • @VisionOf89
    @VisionOf89 3 ปีที่แล้ว +1

    This was great. Thanks for sharing.

  • @brenogi
    @brenogi 6 ปีที่แล้ว +8

    Great talk!
    Btw, there is a typo on the "push" slide. It says "count.compare_exchange". I believe it should be "stack.head.compare_exchange", right?

  • @ayush_ytube
    @ayush_ytube ปีที่แล้ว

    how can I get the slides?

  • @Muskar2
    @Muskar2 ปีที่แล้ว +1

    Why use RAII in lock-free programming?! That seems like completely unnecessary overhead when you're trying to squeeze out performance. Instead you should malloc a huge page at startup and manage it yourself in an arena/pool or a circular buffer.

  • @Maric18
    @Maric18 3 ปีที่แล้ว

    i like my GIL actually
    everything that needs to be fast can be outsourced ... which brings me here
    but the fewer times that i have to actually do complex and cool work, the fewer bugs i can produce

  • @timh.6872
    @timh.6872 6 ปีที่แล้ว +6

    Kinda sad that he spends nearly an hour explaining this technique and concludes with "you should only use this as a last resort, and even then it might not help".

    • @Astfresser
      @Astfresser 3 ปีที่แล้ว

      This was the conclusion on every talk i ever saw. Don't go lock free, just use locks 😂

  • @meyou118
    @meyou118 6 ปีที่แล้ว

    rofl - thats was super funny @ 36:00 ish