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

SubmittedTitle on HNPointsComments
May 24, 2023SectorC: A C Compiler in 512 bytes by xorvoid46580
Feb 7, 2026SectorC: A C Compiler in 512 bytes (2023) by valyala38179

Cited in comments

Linked from 4 Hacker News comments by 4 different people, from Nov 2023 to Sep 2026.

Most recent:

Search every comment that links here →

More from xorvoid

All 3 posts →

Related posts from the same era