# AbsInt/CompCert

The CompCert formally-verified C compiler

Repository: https://github.com/AbsInt/CompCert
Canonical: https://ross.abutalabs.com/products/compcert
Homepage: https://compcert.org
Language: Rocq Prover
License: NOASSERTION
License Family: other
Topics: compcert, coq, c, compiler
Last push: 2026-08-26T15:56:59+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 38, longevity 100
- inputs: {"age_days": 4367, "days_push": 7, "days_rel": 201, "gap_med": 213.0, "n_releases_24m": 3}
- 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 2215, forks 261 (observed 2026-08-28T04:06:27.106655+00:00)

## What it is
CompCert is a formally verified C compiler whose correctness is machine-checked with the Coq proof assistant, guaranteeing generated assembly matches the source C semantics. It targets ARM, PowerPC, RISC-V, and x86 processors and is used in safety-critical embedded software.

## Use cases
- compile safety-critical C code with a verified compiler
- rule out miscompilation bugs in avionics or medical software
- research formally verified compilation
- teach compiler correctness with Coq proofs
- build DO-178C qualified toolchains for critical embedded software

## When to choose
- you need high-assurance compilation for certified or safety-critical embedded software
- you want a compiler backed by machine-checked correctness proofs
- your target is ARM, PowerPC, RISC-V, or x86 and you use ISO C 2011

## When to avoid
- you need a fully free/open-source license for commercial use
- you rely on C features outside CompCert's supported subset
- you need broad platform or ecosystem support like GCC or Clang

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, cryptography, security
- domain: compilers, embedded-systems, programming-languages, security
- platform: windows, cpp, embedded
- tags: formal-verification, coq, verified-compiler, c-language, safety-critical, avionics, linux, macos

## Member repositories
- AbsInt/CompCert (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.106655+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-30T02:45:58.120096+00:00, confidence not recorded.
  - readme: https://github.com/AbsInt/CompCert (fetched 2026-08-28T04:06:27.106655+00:00, sha d4de43de3bbc)
  - homepage: https://compcert.org (fetched 2026-08-29T10:26:10.016865+00:00, sha 0a575c8f922d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
