What does HackerNews think of uthash?

C macros for hash tables and more

Language: C

Nice article! I think eventually you need to move to macros to support multiple key/value types in C. Just leaving some macro implementations for reference:

- https://github.com/attractivechaos/klib/blob/master/khash.h

- https://github.com/tezc/sc/tree/master/map

- https://github.com/troydhanson/uthash

There are numerous, tested macro libraries to prevent reinventing common data-structure/algorithm bugs.

Here's one: https://github.com/troydhanson/uthash

I use uthash:

https://github.com/troydhanson/uthash

You can compare performance with it and other C hash table implementations.