# fragglet/c-algorithms

A library of common data structures and algorithms written in C.

Repository: https://github.com/fragglet/c-algorithms
Canonical: https://ross.abutalabs.com/products/c-algorithms
Homepage: https://fragglet.github.io/c-algorithms/
Language: C
License: NOASSERTION
License Family: other
Topics: algorithm, data-structures, c, library, isc
Last push: 2026-03-17T21:47:59+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 72, release rhythm 8, longevity 100
- inputs: {"age_days": 5915, "days_push": 169, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3610, forks 746 (observed 2026-08-28T04:08:11.647651+00:00)

## What it is
A collection of common computer science data structures and algorithms written in 100% ANSI standard C. Each module is self-contained so it can be copied into any project, or built together as the libcalg library.

## Use cases
- add linked lists, hash tables, or binary trees to a C project
- copy a single data structure source file into my codebase without dependencies
- replace C's limited standard library with common algorithms
- learn how classic data structures are implemented in C
- use a permissively licensed data structure library in proprietary software

## When to choose
- you need basic data structures in plain C with no dependencies
- you want permissively licensed (ISC) code reusable in proprietary projects
- you prefer copying individual .c/.h modules rather than linking a library

## When to avoid
- you need generic, type-safe containers like C++ STL or Rust collections
- you need high-performance concurrent or lock-free data structures
- your project uses a higher-level language with a rich standard library

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools
- platform: cross-platform, c
- tags: data-structures, ansi-c, modular, isc-license, libcalg, algorithms

## Member repositories
- fragglet/c-algorithms (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.647651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:33:39.498646+00:00, confidence not recorded.
  - readme: https://github.com/fragglet/c-algorithms (fetched 2026-08-28T04:08:11.647651+00:00, sha a44ea2456f4e)
  - homepage: https://fragglet.github.io/c-algorithms/ (fetched 2026-08-29T09:26:47.539745+00:00, sha 81f971bfb13a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
