xorvoid personal blog
SectorC: A C Compiler in 512 bytes
SectorC ( github ) is a C compiler written in x86-16 assembly that fits within the 512 byte boot sector of an x86 machine. It supports a subset of C that is large enough to write real and interesting programs. It is quite likely the smallest C compiler ever written.
- Points
- 465
- HN comments
- 159
- Submissions
- 2
- Cited by
- 4 commenters
Software EngineeringProgramming Languages2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 24, 2023 | SectorC: A C Compiler in 512 bytes by xorvoid | 465 | 80 |
| Feb 7, 2026 | SectorC: A C Compiler in 512 bytes (2023) by valyala | 381 | 79 |
Cited in comments
Linked from 4 Hacker News comments by 4 different people, from Nov 2023 to Sep 2026.
Most recent: