News for hackers. Stuff that matters.

lcy

Re:Dashmap: Fast concurrent HashMap for Rust on Friday March 27, 2020 @02:05AM (#22700724)
> unless you perform all writes while holding a mutex

No. Maybe you are not familiar with the concurrency data structures community. Many techniques are invented and used in concurrency data structures, e.g., intrinsic CPU atomic instructions, like CAS, that make the data structures "lock-free".

CAS: https://en.wikipedia.org/wiki/Compare-and-swap.