map
A type-safe hash map implementation for C (by rxi)
vec
A type-safe dynamic array implementation for C (by rxi)
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
vec
Posts with mentions or reviews of vec.
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
A quick bench on array(unsigned) between RXI vec and M*LIB array, which uses type generation, shows 1476 ms for RXI vec and 1116 ms for M*LIB (O2 / native / No LTO).
What are some alternatives?
When comparing map and vec you can also consider the following projects:
uthash - C macros for hash tables and more
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).
ctl - My variant of the C Template Library
ctl - The C Template Library
sc - Common libraries and data structures for C.
frr - The FRRouting Protocol Suite