# TinyCC/tinycc

Unofficial mirror of mob development branch

Repository: https://github.com/TinyCC/tinycc
Canonical: https://ross.abutalabs.com/products/tinycc
Homepage: http://repo.or.cz/w/tinycc.git
Language: C
License: LGPL-2.1
License Family: copyleft
Topics: compiler, c, jit, tcc, tinycc
Last push: 2026-08-09T02:13:11+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3804, "days_push": 25, "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 3019, forks 562 (observed 2026-08-28T04:07:38.430921+00:00)

## What it is
TinyCC (tcc) is a very small and fast ANSI C compiler that can compile, link, and run C code directly, including as shebang-style C scripts. It targets i386, x86_64, arm, aarch64, and riscv64, compiles roughly 10x faster than gcc -O0, and offers an optional memory/bounds checker plus a libtcc library for JIT-style dynamic compilation.

## Use cases
- compile and run C code as scripts with a shebang line
- embed a C compiler/JIT into an application via libtcc
- bootstrapping or compiling C on minimal systems like rescue disks
- fast iterative C compilation during development
- compile C for embedded or cross-platform targets including Windows and ARM
- check memory and array bounds in C programs

## When to choose
- you need a tiny, fast C compiler with minimal dependencies
- you want to run C source directly as scripts without a build step
- you need runtime C compilation or JIT capabilities in your own program
- you're working on resource-constrained or bootstrapping scenarios

## When to avoid
- you need heavily optimized production binaries (use gcc or clang)
- you require full C11/C17/C23 compliance or advanced diagnostics
- you need a large ecosystem of tooling and sanitizers

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, interpreter, developer-tools
- domain: compilers, programming-languages, developer-tools
- platform: windows, bsd, cross-platform, cli
- tags: c-compiler, jit, c-scripting, tinycc, tcc, libtcc, small-footprint, fast-compilation, command-line, linux, macos

## Member repositories
- TinyCC/tinycc (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.430921+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:46:54.307475+00:00, confidence not recorded.
  - readme: https://github.com/TinyCC/tinycc (fetched 2026-08-28T04:07:38.430921+00:00, sha 6a832f34fe90)
  - homepage: http://repo.or.cz/w/tinycc.git (fetched 2026-08-29T09:45:22.483381+00:00, sha 002721f3d5c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
