HN Hall of Fame Weekly email

SectorC: A C Compiler in 512 bytes

xorvoid.com Software & code Software projects Software engineering Candidate
Screenshot of xorvoid.com captured 2026-07-20
Page preview · captured 2026-07-20

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

submissions
4
submitters
4
observed span
2023–2026
peak thread · 80 comments
465 pts
latest 20+ return · 2026-02-07
381 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

I saw the repeating 'A' at the end of the base64 text and thought "it's not even 512 bytes; it's smaller!" That said, the title is just a little clickbaity --- it's a C-subset compiler, and more accurately a JIT interpreter. There also appears to be no attempt at operator precedence. Nonetheless, it's still an impressive technical achievement and shows the value of questioning common assumptions. Finally, I feel tempted to offer a small size optimisation: sub ax,2 is 3…

If this implementation had existed in the 1980s, the C standard would have a rule that different tokens hashing to the same 16-bit value invoke undefined behavior, and optimizing compilers in the 2000s would simply optimize such tokens away to a no-op. ;)

layer8·381-point thread·

[2023] Previously: https://news.ycombinator.com/item?id=36064971

gryfft·7-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
2

100+ points or 50+ comments

Total points
854

reference only — not used in Hall rules or ranking

Total comments
160

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2023-05-24SectorC: A C Compiler in 512 bytesFirst breakout · Best threadxorvoid46580
2024-09-11SectorC: A C Compiler in 512 bytes (2023)fanf271
2025-09-03SectorC: A C Compiler in 512 bytes (2023)divbzero10
2026-02-07SectorC: A C Compiler in 512 bytesLatest 20+ point returnvalyala38179