HN Hall of Fame Weekly email

C4 – C in 4 functions

github.com Software & code Software projects Computer science Class of 2023-08 Hall of Fame
Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
7
submitters
7
observed span
2014–2025
peak thread · 138 comments
517 pts
latest 20+ return · 2023-08-26
24 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

On a first skim, this looks really nice; complaints that it's unreadable are unfounded. The background that makes it readable are Wirth's Compiler Construction http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf plus precedence climbing http://en.wikipedia.org/wiki/Operator-precedence_parser#Prec...

I unironically love this code. We used it as a starting point (or rather, the same design; we wrote in Go) for reversing challenges at our last startup, symbolically evaluating the stack machine bytecode to generate AVR. The trick to reading it: * next() is the lexer * expr() is a precedence-climbing expression parser * stmt() parses statements and generates code * main() has the virtual machine loop.

tptacek·436-point thread·

Terse C interpreter that can interpret itself. Previous posts: https://news.ycombinator.com/item?id=22353532 https://news.ycombinator.com/item?id=8558822

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
2

100+ points or 50+ comments

Total points
983

reference only — not used in Hall rules or ranking

Total comments
270

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-11-04C4 – C in 4 functionsFirst breakout · Best threadpetercooper517138
2016-01-28C4: C compiler in 4 functionsapi10
2016-03-17C4 – C in four functionsrspivak20
2020-02-18C4: C in Four Functions (2014)azhenley436131
2023-08-26C4: C in Four FunctionsHall induction · Latest 20+ point returnsigna11240
2024-10-18C4 – C in four functions (2014)levzettelin11
2025-09-30C4 – C in Four Functionswelovebunnies20