xorvoid/sectorc
View on GitHub ↗ ★ 1,864 C
A C Compiler that fits in the 512 byte boot sector of an x86 machine
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2023-05-25 · latest 2026-09-07
20082026
-
Or sectorC https://github.com/xorvoid/sectorc Edit: I wonder if sectorC could compile python1024
comment by gabrielsroka · 2026-09-07 · in Making a Python interpreter in 1024 bytes -
▲ 206
A C Compiler that fits in the 512 byte boot sector of an x86 machinestory by doener · 2023-11-07 · 61 comments
-
…that I used in for the animated sinwave example for SectorC: y ~= 100 + (x*(157 - x)) >> 7 https://github.com/xorvoid/sectorc/blob/main/examples/sinwav...
comment by xorvoid · 2023-06-05 · in Implementing Cosine in C from Scratch (2020) -
They're from the runtime, which is just concatenated with the program to be run: https://github.com/xorvoid/sectorc/blob/main/rt/lib.c
comment by tomsmeding · 2023-05-25 · in SectorC: A C Compiler in 512 bytes