# KaisenAmin/c_std

Implementation of C++ standard libraries in C

Repository: https://github.com/KaisenAmin/c_std
Canonical: https://ross.abutalabs.com/products/c_std
Language: C
License: ISC
License Family: permissive
Last push: 2026-07-04T15:12:45+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 35, longevity 70
- inputs: {"age_days": 992, "days_push": 60, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1246, forks 66 (observed 2026-08-28T04:04:07.170503+00:00)

## What it is
A pure C17 library that reimplements a large slice of the C++ Standard Library (containers, algorithms, smart pointers) plus Python-style utilities like , regex, random, and statistics. It offers 40+ modules with cross-platform POSIX/Win32 backends, Valgrind-verified leak-free code, and CMake-based builds.

## Use cases
- use C++ STL-style containers like vector and map in a C project
- parse and generate JSON, XML, CSV, and INI files in pure C
- get Python-like random, statistics, and secrets modules in C
- write TCP/UDP/HTTP networking code in portable C
- do arbitrary-precision big integer math in C
- avoid memory leaks with well-tested C data structures

## When to choose
- you're writing C and miss the convenience of C++ STL containers and algorithms
- you need portable C17 code that builds on Windows (MSVC/MinGW) and Linux (GCC/Clang)
- you want leak-free, Valgrind-verified data structures with clear ownership rules
- you want Python-standard-library-style utilities without leaving the C ecosystem

## When to avoid
- you're already writing C++ and can use the real STL directly
- you need battle-hardened, widely-deployed libraries for security-critical crypto or networking
- you need C89/C99 compatibility rather than C17
- you need a package-managed dependency rather than a CMake-built source library

## Facets
- artifact type: library
- maturity: active
- function: serialization, parser, math, networking, cryptography
- domain: developer-tools, programming-languages, cross-platform
- platform: windows, cross-platform, c
- tags: c17, stl, cpp-standard-library, python-style-utilities, containers, smart-pointers, header-library, cmake, data-structures, algorithms, linux

## Member repositories
- KaisenAmin/c_std (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.170503+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-30T05:08:00.933633+00:00, confidence not recorded.
  - readme: https://github.com/KaisenAmin/c_std (fetched 2026-08-28T04:04:07.170503+00:00, sha e26f11c4bf63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
