map
A type-safe hash map implementation for C (by rxi)
uthash
C macros for hash tables and more (by troydhanson)
map | uthash | |
---|---|---|
2 | 4 | |
461 | 3,953 | |
- | - | |
10.0 | 2.3 | |
almost 4 years ago | 5 months ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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.
map
Posts with mentions or reviews of map.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-12.
-
C Template Library
The one I found is this: https://github.com/rxi/map
-
Uthash – C macros for hash tables and more
I know this from my time doing Leetcode with C. I prefer https://github.com/rxi/map for its API
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
What are some alternatives?
When comparing map and uthash you can also consider the following projects:
mlib - Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
CVE-2022-27254 - PoC for vulnerability in Honda's Remote Keyless System(CVE-2022-27254)
ctl - The C Template Library
frr - The FRRouting Protocol Suite
vec - A type-safe dynamic array implementation for C
sc - Common libraries and data structures for C.
ctl - My variant of the C Template Library
librdkafka - The Apache Kafka C/C++ library
smol_world - Compact garbage-collected heap and JSON-like object model