Re:Dashmap: Fast concurrent HashMap for Rust
by platinumrad on Friday March 27, 2020 @04:12AM
(#22701146)
Stepping back from concurrency for a second, you can't even implement `RefCell<T>` without `unsafe`. Any method that takes `&self` and performs "interior mutation" is unsafe to implement.
Not sure whether you would consider that to be by "design", "necesity", or a "compiler/language deficiency".
Not sure whether you would consider that to be by "design", "necesity", or a "compiler/language deficiency".