Moving beyond Arc˂Mutex˂T˃˃ - Katharina Fey

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

  • @brunozimmermann8017
    @brunozimmermann8017 ปีที่แล้ว +66

    Lockfree crate's author here. I would like to just point out two things:
    1. Lockfree crate's biggest drawback is not replacing the global, blocking allocator by a non-blocking one (that is a feature I ended up never implementing);
    2. Lockfree crate's performance is actually... worse than some of the blocking counterparts in all benchmarks I have written, and so, I would not advise one to use lockfree seeking performance, but rather seeking properties such as being reliable, free from deadlocks, etc.

  • @mikkelens
    @mikkelens ปีที่แล้ว +15

    I did not expect to actually understand the practical use and abstracted hardware concepts of Atomics when I started watching this talk, but I am very happy with this outcome!

  • @YannSimon
    @YannSimon ปีที่แล้ว +13

    I said "consensus" in front of my screen, and you heard it! Crazy technology with space-time travels.

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

    Nice deep dive!❤

  • @arubaga
    @arubaga 8 หลายเดือนก่อน

    At 34:08 it should be // unlock the mutex

  • @sbmb9613
    @sbmb9613 2 วันที่ผ่านมา

    conclusion, concurrency is hard and rust makes it harder, 99% of cases you probably just need a channel for your async code.