HN Hall of Fame Weekly email

Zig cc: A drop-in replacement for GCC/Clang

andrewkelley.me Essays & writing Essays & articles Software engineering Candidate
Screenshot of andrewkelley.me captured 2026-07-20
Page preview · captured 2026-07-20

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

submissions
3
submitters
3
observed span
2020–2024
peak thread · 288 comments
831 pts
latest 20+ return · 2021-07-18
301 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

> Take a moment to appreciate what just happened here - I downloaded a Windows build of Zig, ran it in Wine, using it to cross compile for Linux, and then ran the binary natively. Computers are fun! > Compare this to downloading Clang, which has 380 MiB Linux-distribution-specific tarballs. Zig's Linux tarballs are fully statically linked, and therefore work correctly on all Linux distributions. The size difference here comes because the Clang tarball ships with more utilities than a…

D is taking a different approach. D is getting a builtin C compiler (called ImportC) that is a from scratch C compiler, now in prototype form. https://dlang.org/spec/importc.html It works by having an extra module called cparse.d https://github.com/dlang/dmd/blob/master/src/dmd/cparse.d which parses Standard C. The lexer and semantic routines of the D compiler are then tweaked to support C semantics. The same optimizer and code generator is used. As a side effect of using the D compiler's innards, ImportC can do…

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
1136

reference only — not used in Hall rules or ranking

Total comments
409

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2020-03-24Zig cc: A drop-in replacement for GCC/ClangFirst breakout · Best threadhazebooth831288
2021-07-18Zig cc: A drop-in replacement for GCC/Clang (2020)Latest 20+ point returnAlexeyBrin301121
2024-02-05`Zig Cc`: A Powerful Drop-In Replacement for GCC/Clang (2020)tosh40