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!
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.
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!
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.
I said "consensus" in front of my screen, and you heard it! Crazy technology with space-time travels.
Nice deep dive!❤
At 34:08 it should be // unlock the mutex