nowfound

Life & fun · January 15, 2017

A concurrent thread-safe hash map implemented in C++

A concurrent thread-safe hash map implemented in C++ - kshk123/hashMap

A concurrent thread-safe hash map implemented in C++ launched on January 15, 2017 with 17 votes, #1,524 of 3,671 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 9 years on.

In plain words

A thread-safe hash map library written in C++ that allows multiple threads to safely access and modify data simultaneously without conflicts. It is designed for developers building concurrent applications who need reliable data structure performance under parallel workloads. The implementation emphasizes safe concurrent access patterns while maintaining hash map efficiency.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • A hash array-mapped trie implementation in C2023 · github.com · ▲171

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

  • A portable hash map in C2024 · github.com · ▲176

    A small, portable, linear probing hash map. Contribute to e-dant/salmagundi development by creating an account on GitHub.

  • A Lock- and wait-free hashtable (and an array too), written in C2016 · github.com · ▲24

    📶 A lock- and wait-free hashtable (and an array too) - mulle-concurrent/mulle-concurrent

  • Whirlwind – Async concurrent hashmap for Rust2024 · github.com · ▲140

    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, whirlwind aims to be a replacement for tokio::sync::RwLock. It has a similar design and performance characteristics to dashmap, but seems to perform better in read-heavy workloads with tokio's…

  • A pure C89 implementation of Go channels, with blocking selects2023 · github.com · ▲271

    A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects. - GitHub - rochus-keller/CspChan: A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects.

  • Integer Map Data Structure2024 · github.com · ▲91

    This project presents a new data structure for storing ordered integer maps. The proposed data structure is a compressive, cache-friendly, radix tree that has performance comparable to an unordered map (`std::unordered_map`) and is an order of magnitude faster than an ordered map (`std::map`).

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, January 2017

the whole month →