Article View: comp.lang.c++
Article #586Concurrent Hashmap
From: Joseph Seigh
Date: Wed, 21 Oct 2026 19:39
Date: Wed, 21 Oct 2026 19:39
10 lines
1709 bytes
1709 bytes
I worked out how you would do an open addressing hashmap in c++ using Cliff Clicks algorithm just for fun. Readers would be wait-free and writers would be completly lock-free. All the necessary info would be in the array element cell rather than being linked would lose the array scanning performance advantage putting it on par with chained hashing performance wise. Not going to implement it as there are probably a bunch of these out there already but it was good practice in how to implement concurrent semantics correctly in different ways in lock-free programming.
Technical Details
Message-ID:
<11bb4df$7rc7$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Joseph Seigh <jseigh_es00@xemaps.com> Newsgroups: comp.lang.c++ Subject: Concurrent Hashmap Date: Wed, 21 Oct 2026 15:39:27 -0400 Organization: A noiseless patient Spider Lines: 10 Message-ID: <11bb4df$7rc7$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 21 Oct 2026 19:39:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="257415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0vcTV1cpM5L5ArgW/jh7v"; posting-host="7be410cfd2fc86380d0b559d4b4cafa1" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:af+lJTVsJJCgSdd84IgSlMAZ1f8= sha256:hJH3lAglgoEypg6OCYV/AOCpv9O10xLxn/u21uOKoAY= sha1:y2UChIYpJfOKOeIirqxkQA4Z5O8= sha256:R0Lj2YKgCCfjHx6I6oJB3g8DFHlhUbnUMCtLiHuIl+0= Content-Language: en-US