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
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
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…Paolo Redaelli
Shamar reshared this.
Shamar
in reply to Paolo Redaelli • • •GitHub - jart/sectorlisp: Bootstrapping LISP in a Boot Sector
GitHub