HN Hall of Fame Weekly email

Tiny C Compiler

bellard.org Software & code Software projects Computer science Candidate
Screenshot of bellard.org captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 4 calendar years, with breakout response in 3 of them.

submissions
4
submitters
4
observed span
2008–2026
peak thread · 106 comments
307 pts
latest 20+ return · 2026-02-07
167 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

It's not just a tiny C compiler - it's a compiler you can use as a static library that can compile your C code directly to memory. And then you can call into it, if you dare. I used it as a scripting backend for a long time, but eventually you will realize that you are not the only one that could write scripts, but you also really need to have a trust boundary (or just a different address space)…

The code of TCC (0.9.26) is kind hard to compile, I have discovered in the past year, while developing a minimal C compiler to compile the TCC sources [1]. For that reason, I have concluded that TCC is its own test set. It uses the constant 0x80000000, which is an edge case for if you want to print it as a signed integer only using 32-bit operators. There is a switch statement with an post-increment operator in the switch expression…

fjfaase·167-point thread·

I'm a HUGE fan of TCC -- I've recently added a pretty cool feature to simavr: a way to translate the whole AVR core into 'C' and JIT compile it using libtcc (the backend of tcc). Result is amazing speed for emulation! https://github.com/buserror/simavr/tree/jit-wip

Fabrice Bellard is one of my hacker idols

yan·4-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
632

reference only — not used in Hall rules or ranking

Total comments
211

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2008-12-15TCC : Tiny C Compilerazharcs41
2016-12-24Tiny C CompilerFirst breakoutsndean15427
2020-06-23Tiny C CompilerBest threadKoshkin307106
2026-02-07Tiny C CompilerLatest 20+ point returnguerrilla16777