uthash
C macros for hash tables and more (by troydhanson)
swiss-table
C adaptation of the swiss table (flat hash map) presented at CppCon by Google (https://www.youtube.com/watch?v=ncHmEUmJZf4). (by LIMachi)
uthash | swiss-table | |
---|---|---|
4 | 2 | |
3,936 | 11 | |
- | - | |
2.3 | 0.0 | |
5 months ago | over 4 years ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uthash
Posts with mentions or reviews of uthash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-13.
- A simple hash table in C
-
Please critque the hashtable that is now fixed and works.
You should check out uthash, which has an extensive test suite and documentation (the user guide), to see how a library like this one that's used in the real world is written, tested, and used: https://github.com/troydhanson/uthash/tree/master/tests
-
Hacker News top posts: Mar 26, 2022
Uthash – C macros for hash tables and more\ (16 comments)
- Uthash – C macros for hash tables and more
swiss-table
Posts with mentions or reviews of swiss-table.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-13.
What are some alternatives?
When comparing uthash and swiss-table you can also consider the following projects:
CVE-2022-27254 - PoC for vulnerability in Honda's Remote Keyless System(CVE-2022-27254)
smol_world - Compact garbage-collected heap and JSON-like object model
frr - The FRRouting Protocol Suite
map - A type-safe hash map implementation for C
sc - Common libraries and data structures for C.
librdkafka - The Apache Kafka C/C++ library
ctl - My variant of the C Template Library
Klib - A standalone and lightweight C library