cmapv2

a concurrent hash array mapped trie implementation in go (by sirgallo)

Cmapv2 Alternatives

Similar projects and alternatives to cmapv2

  1. hashmap

    A Golang lock-free thread-safe HashMap optimized for fastest read access.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cmapv2 alternative or higher similarity.

cmapv2 discussion

Log in or Post with

cmapv2 reviews and mentions

Posts with mentions or reviews of cmapv2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-15.
  • Cmapv2: A high performance, concurrent map
    5 projects | news.ycombinator.com | 15 Jun 2025
    The point of enumerating all of those specific issues, wasn't to say "here are some bugs" and if you fix them you're good. It was to say "here are some examples of the much more fundamental problem", which seemed to be a fundamental misunderstanding of the language memory model and the guarantees offered by assignments, atomic.CompareAndSwap, etc., and those operations' interactions with package unsafe.

    For example this code

    https://github.com/sirgallo/cmapv2/blob/6bcaa0253b1b0b261e8a...

    and in particular its use of this code

    https://github.com/sirgallo/cmapv2/blob/6bcaa0253b1b0b261e8a...

    is still completely unsound.

    Looking at *only this code path* -- and there are *many more* --

    ---

    Put

    - Snapshots the current root pointer with atomic.LoadPointer

Stats

Basic cmapv2 repo stats
4
60
7.0
25 days ago

sirgallo/cmapv2 is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of cmapv2 is Go.

Popular Comparisons


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com