troydhanson/uthash
C macros for hash tables and more observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 89
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4986
- days_rel: n/a
- days_push: 69
- n_releases_24m: 0
Adoption not part of the score
4764 stars · 978 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
uthash is a header-only C library providing hash table, linked list, and dynamic array implementations via preprocessor macros. It lets C developers add hash-table capabilities to arbitrary structs with minimal boilerplate.
Use cases
- add a hash table to a C struct
- implement a dictionary in C without writing my own hash table
- C header-only hashmap library
- store key-value pairs in C efficiently
- linked list and dynamic array macros for C
When to choose
- you need a lightweight, dependency-free hash table in C
- you want header-only data structures you can drop into any project
- you need hash tables keyed on arbitrary struct fields
When to avoid
- you need thread-safe or lock-free hash tables
- you want a full-featured container library with iterators and allocators
- you're working in a language other than C
Facets
library · maturity maintenance
developer-tools developer-tools c cpp cross-platform hash-table header-only c-macros data-structures linked-list algorithms
1 source
- readme: https://github.com/troydhanson/uthash · fetched 2026-08-28 · 1d1d80836b37
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| troydhanson/uthash | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="troydhanson/uthash")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem