willothy/whirlwind
View on GitHub ↗ ★ 560 Rust
🌀 Async-first sharded hashmap for Rust.
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2024-11-05 · latest 2024-11-05
20082026
-
…practice be more costly to your scheduler (which likely uses locks btw) than just using locks [0]: https://github.com/fortress-build/whirlwind/blob/0e4ae5a2aba...
comment by conradludgate · 2024-11-05 · in Show HN: Whirlwind – Async concurrent hashmap for Rust -
Benchmarks will always look good when using a spin-lock like you seem to be using here https://github.com/fortress-build/whirlwind/blob/0e4ae5a2aba...
comment by conradludgate · 2024-11-05 · in Show HN: Whirlwind – Async concurrent hashmap for Rust -
They're just using tokio as a dev dependency. You could use this with any async runtime https://github.com/fortress-build/whirlwind/blob/main/Cargo....
comment by macawfish · 2024-11-05 · in Show HN: Whirlwind – Async concurrent hashmap for Rust -
…I guess they do implement Future on their own so it shouldn't need a specific runtime then. https://github.com/fortress-build/whirlwind/blob/main/src/sh...
comment by lesuorac · 2024-11-05 · in Show HN: Whirlwind – Async concurrent hashmap for Rust