Skip to main content


A C compiler that fits within the 512 byte boot sector
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.

Source: xorvoid

That's quite an impressive achievement!
https://monodes.com/predaelli/2023/05/25/a-c-compiler-that-fits-within-the-512-byte-boot-sector/
#Fun
#fun

Shamar reshared this.

in reply to Paolo Redaelli

@anzu pointed me to https://github.com/jart/sectorlisp that I guess even @ekaitz_zarraga would love

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.