Skip to content
Prompt & SolderHow to Ask Claude
All builds

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

  • Repository account kromych Source ↗
  • HN submitter kromych Source ↗

Earliest dated source: 22 Jun 2026

Code ↗

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 ClaudeCode or repositorygithub.com
    Repository account: kromych

    The compiler and its validation results.

  • Hacker News discussion (3 points)Forum threadnews.ycombinator.com
    HN submitter: kromychPosted 22 Jun 2026

    Hacker News post.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count). The Claude connector only receives the search words your Claude sends it.

How toAsk ClaudeEvery sourceStatsSubmit a buildPrivacyRSS