Hacker ApprovedDepartments

Tiny C Compiler (TCC)

Hacker Approved

Ranked 4 of 18 c compilers by recommenders

Tiny, very fast C compiler people use for quick development builds and embedding. Caveats: generated machine code is poor and it is not a drop-in replacement for other compilers.

Tiny, very fast C compiler people use for quick development builds and embedding. Caveats: generated machine code is poor and it is not a drop-in replacement for other compilers.

25 people gave an opinion

recommend it
22
criticize it
3
approval share
88%
Each figure is one person. RecommendsCriticizes

Recommended in 9 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 22 people recommend itNeeds 10 or more, met.
  • 7.3 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 9 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Very fast compile times

    “use debug mode and tcc compiler for almost instant compile times”

    Comment from 13 Dec 2025 in “Using Python for Scripting”

    “tcc is 8x faster, twice as fast isn't doing it justice.”

    Comment from 7 Feb 2026 in “I Write Games in C (yes, C)”

    “~9x faster compilation - very useful during development”

    Comment from 8 Nov 2025 in “Zig is so cool, C is cooler”
  • Useful for quick test builds

    “use debug mode and tcc compiler for almost instant compile times”

    Comment from 13 Dec 2025 in “Using Python for Scripting”

    “~9x faster compilation - very useful during development”

    Comment from 8 Nov 2025 in “Zig is so cool, C is cooler”

    “You can even use TCC to do quick test builds”

    Comment from 15 Nov 2025 in “Designing a Language (2017)”
  • Small compiler praised as great

    “a great small compiler compared to C/Clang”

    Comment from 24 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

    “TCC is probably the most famous example”

    Comment from 9 Feb 2026 in “Claude's C Compiler vs. GCC”
  • Embeddable via libtcc and scripting

    “I have used tcc as a scripting language in the past.”

    Comment from 25 Oct 2026 in “Small Programs and Languages”

    “based on libtcc (which is very fast)”

    Comment from 24 Oct 2026 in “The Goose Programming Language”

Other c compilers people recommend

The four most recommended other c compilers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Tiny C Compiler (TCC) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Fil-C1606073%13—Approved
Claude's C Compiler398332%5——
Visual C++291763%12——
Tiny C Compiler (TCC)This page22388%9—Approved
Microsoft Visual C++ compiler (MSVC)202941%9——
See all 18 c compilers, ranked

What people said

25 of the 29 comments that mention it, newest first. Each links to the original comment.

“TCC for example produces terrible machine code but I rarely see 3x size or performance diffs”

MixedComment from 25 Oct 2026 in “Small Programs and Languages”

“And the original TCC code is not easy to understand.”

MixedComment from 25 Oct 2026 in “Small Programs and Languages”

“I have used tcc as a scripting language in the past.”

RecommendsComment from 25 Oct 2026 in “Small Programs and Languages”

“based on libtcc (which is very fast)”

RecommendsComment from 24 Oct 2026 in “The Goose Programming Language”

“for those who run into tcc bugs, there are many still”

CriticizesComment from 30 Jul 2026 in “GCC steering committee announces AI policy”

“Bellard did multiple breakthroughs: ffmpeg, qemu, tcc, jslinux.”

RecommendsComment from 16 Jun 2026 in “John Carmack on Fabrice Bellard”

“This helps clean up a lot of stuff that I got wrong.”

RecommendsComment from 25 May 2026 in “C extensions, portability, and alternative compilers”

“So far only tcc can do that.”

RecommendsComment from 25 May 2026 in “C extensions, portability, and alternative compilers”

“tcc has this special exception”

MixedComment from 25 May 2026 in “C extensions, portability, and alternative compilers”

“the quality is too poor to even replace tcc”

MixedComment from 24 May 2026 in “Software Engineering at the Tipping Point”

“a strategy I have used for sometime”

RecommendsComment from 3 May 2026 in “Windows API Is Successful Cross-Platform API”

“tcc: error: file '/lib/x86_64-linux-gnu/libgcc_s.so.1' not found”

MixedComment from 28 Apr 2026 in “C, Just In Time!”

“the most common dealbreaker is no thread local support”

CriticizesComment from 21 Apr 2026 in “Kefir C17/C23 Compiler”

“tcc is awesome but less suited for being a drop-in”

MixedComment from 21 Apr 2026 in “Kefir C17/C23 Compiler”

“I used small tools such as tcc, jimsh, eforth+muxleq, sacc, smu”

MixedComment from 20 Apr 2026 in “SDF Public Access Unix System”

“TCC is a leaky shoot at limiting non-sandboxed apps permissions.”

CriticizesComment from 10 Apr 2026 in “You can't trust macOS Privacy and Security settings”

“TCC is probably the most famous example”

RecommendsComment from 9 Feb 2026 in “Claude's C Compiler vs. GCC”

“libtcc doesn't give you much control AST wise, you basically just feed it strings.”

MixedComment from 7 Feb 2026 in “Tiny C Compiler”

“tcc is 8x faster, twice as fast isn't doing it justice.”

RecommendsComment from 7 Feb 2026 in “I Write Games in C (yes, C)”

“without crazy optimizations (like tcc)”

MixedComment from 14 Jan 2026 in “AVX-512: First Impressions on Performance and Programmability”

“Adapting that would probably be a faster path to a full featured C compiler on esp32”

RecommendsComment from 26 Dec 2025 in “Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines”

“a great small compiler compared to C/Clang”

RecommendsComment from 24 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

“use debug mode and tcc compiler for almost instant compile times”

RecommendsComment from 13 Dec 2025 in “Using Python for Scripting”

“You can even use TCC to do quick test builds”

RecommendsComment from 15 Nov 2025 in “Designing a Language (2017)”

“~9x faster compilation - very useful during development”

RecommendsComment from 8 Nov 2025 in “Zig is so cool, C is cooler”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.