Show HN: Whirlwind – Async concurrent hashmap for Rust

Hey HN, this is Will and David from Fortress (https://news.ycombinator.com/item?id=41426998).

We use a lot of async Rust internally, and created this library out of a need for an async-aware concurrent hashmap since there weren’t many available in the Rust ecosystem.

Whirlwind is a sharded HashMap with a fully asynchronous API. Just as dashmap is a replacement for std::sync::RwLock

Benchmarks are in the readme! We used an asyncified version of dashmap's benchmark suite. The project is in a pretty early stage and I'm sure there are flaws, but I'm pretty happy with the performance.

There is some unsafe involved, but we run Miri in ci to (hopefully) catch undefined behavior well before it's in an actual release.

We'd appreciate any feedback! Thanks in advance :)


Comments URL: https://news.ycombinator.com/item?id=42053747

Points: 50

# Comments: 25

https://github.com/fortress-build/whirlwind

Created 6mo | Nov 5, 2024, 8:40:16 PM


Login to add comment