Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2023 (3)
20082026
  1. 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
  2. ▲ 206
    A C Compiler that fits in the 512 byte boot sector of an x86 machine
    story by doener · 2023-11-07 · 61 comments
  3. …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...
  4. 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