Image: github.com · Former bad C compiler. Now can cross-compile lots of complex stuff, look inside! - kromych/badc
Worked Proof shown
Badc: an optimising cross-platform C compiler built with Claude
A C compiler with optimisations, written with Claude.
—
Credits
Earliest dated source:
The full story
Badc started as a "bad" C compiler and grew, with Claude, into an optimising cross-compiler written in Rust. It can cross-build Python 3.14 for five targets, plus SQLite and other libraries, passing their test suites. It outputs ELF, Mach-O and PE files, and can even produce native Windows NT images and drivers.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- Hacker News: Badc – optimizing cross-platform C compiler built with ClaudeRepository account: kromych
The compiler and its validation results.
- Hacker News discussion (3 points)HN submitter: kromychPosted
Hacker News post.