Hacker ApprovedDepartments

The best c compilers, according to hackers

18 c compilers were recommended on Hacker News between November 2025 and November 2026. We rank them by how many separate people recommend each one, and 4 earn the Hacker Approved badge.

Top picks

The three most recommended c compilers with the badge. Each figure is 10 people. RecommendsCriticizes One comment

  1. Fil-C

    160 recommend, 60 criticize, 73% approval

    Ranked 1 of 18 by recommenders

    Memory-safe recompile of legacy code

    Recompiles existing C and C++ code with strong memory safety and high compatibility, making legacy software safer without a rewrite, at the cost of speed, memory and garbage collection.

  2. Tiny C Compiler (TCC)

    22 recommend, 3 criticize, 88% approval

    Ranked 4 of 18 by recommenders

    Very fast compile times

    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.

  3. Tiny C Compiler

    20 recommend, 2 criticize, 91% approval

    Shares rank 5 of 18 by recommenders

    Works well on Windows and Win32

    Small, free C compiler that builds lean Windows and Win32 programs with no dependencies. Critics note it has had no release in about eight years.

All 18 c compilers, ranked

Select a column heading to sort. Approval share is recommenders out of everyone who gave an opinion; the tick on each bar marks the 2 to 1 line the badge needs. Months counts the months, out of 13, in which someone recommended it.

C compilers ranked by the number of people who recommend them
Rank
1Fil-C1606073%13—Approved
2Claude's C Compiler398332%5——
3Visual C++291763%12——
4Tiny C Compiler (TCC)22388%9—Approved
Tied 5Microsoft Visual C++ compiler (MSVC)202941%9——
Tied 5Tiny C Compiler20291%7—Approved
7DJGPP13287%5—Approved
8SDCC Small Device C Compiler12475%3——
9MinGW101343%4——
Tied 10CompCert9282%8——
Tied 10SectorC C compiler9469%2——
Tied 12xcc C compiler80100%4——
Tied 12Kefir C compiler8189%2——
Tied 12C89cc.sh8280%1——
15LLVM-MOS7370%2——
16Intel C++ compiler6746%6——
Tied 17w64devkit50100%4——
Tied 17Anthropic C compiler52915%3——

How we rank

Rank is the number of separate people who recommend a product in a Hacker News comment over the past year. Someone who praises the same c compiler in five threads counts once.

The badge goes to c compilers that at least 10 people recommend, with recommenders outnumbering critics at least 2 to 1, recommended in at least 4 of the 13 months.

Rankings are never for sale. We may earn a commission when you buy through our links. It never changes the order.