C-compiler to compile TCC for live-bootstrap
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
HN · launched Dec 17, 2025 · 67 upvotes (top 15%) · 0 views
Niche: programming language compilers · 77 launches, 2 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 77 launches in programming language compilers →
Could you build this?
No Writing a minimal bootstrap C compiler capable of parsing and correctly compiling the Tiny C Compiler (TCC) requires intricate compiler design expertise and deep knowledge of x86/C language specifications.
What it would actually take: A bootstrap C compiler requires writing a complete lexer, parser, symbol table, type checker, and machine code emitter (e.g., for x86/ELF) in an extremely restricted subset of C or assembly without standard library support. It necessitates flawless handling of complex C constructs, struct padding, calling conventions, and pointers to pass the strict test suite of compiling TCC deterministically for live-bootstrap reproducibility.
Discussion
20 comments analyzed.
Competitors mentioned: pnut.sh (C->POSIX shell transpiler), cosinusoidally experiments, mrustc (bare bones Rust compiler in C), Mes compiler (Scheme-based)
Concerns raised: x86-only limitation, difficult to port to other architectures, Long build chains required (tcc → gcc → g++ progression), Mes is second-longest build in entire bootstrap tree after Rust, Hardware/firmware trust assumptions remain unsolved, RISC-V support currently incomplete, only x86 viable
Feature requests: Reduce 700+ executables in stage0 to at least half, Stage 3-4 support for non-x86 targets (32/64-bit word size adaptations), RISC-V64 support with equivalent to Fiwix bootloader, Bootstrapping support for Rust in the chain
Competitors
Other products that read as similar to this one : 457 launches clear the similarity bar, closest 8 shown.
Attention rank: #60 of 458 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 47 days after the earliest competitor.
- Rust compiler in PHP emitting x86-64 executables · hn · 2026-03-01 · 66 upvotes · similarity 0.47
- jinx · github · 2026-10-12 · 18 upvotes · similarity 0.47
- Rustobol · hn · 2026-04-01 · 5 upvotes · similarity 0.46
- A fast, dependency-free traceroute implementation in pure C · hn · 2025-10-31 · 29 upvotes · similarity 0.46
- flashtex · github · 2026-09-12 · 52 upvotes · similarity 0.45
- A statically typed, cross-platform, easily bootstrappable build system · hn · 2026-06-30 · 46 upvotes · similarity 0.44
- TCP chat server written in C# and .NET 9, used in the terminal · hn · 2026-01-03 · 23 upvotes · similarity 0.44
- Flint · hn · 2026-08-29 · 13 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.