It'd be pretty cool to try and port Java's ConcurrentHashMap to @rustlang. The implementation is pretty well documented, and it might provide a good alternative to RwLock<HashMap>: http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/src/share/classes/java/util/concurrent/ConcurrentHashMap.java …. Is anyone aware of an effort to try and do that?
-
Show this thread
Relevant threads: https://github.com/servo/servo/issues/22334 … https://github.com/crossbeam-rs/rfcs/issues/32 … Amanieu plans to eventually make hashbrown concurrent and use epochs. But I think even hashbrown with a lock per bucket would get us very far, and should be fairly easy to implement.
0 replies
0 retweets
7 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.