{"slug": "sectorc", "name": "SectorC", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 3, "commenters": 6, "warners": 0, "score": 3.432, "rising": 1.67, "first": "2025-12-26", "latest": "2026-09-08", "why": "Sector C might have some insights into how to make this even smaller or more featurefull.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 2, "compare": 1, "warn": 0}, "spark": [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "Sector C might have some insights into how to make this even smaller or more featurefull.", "kind": "", "icon": true, "domain": "xorvoid.com", "github_repo": null, "official_url": "https://xorvoid.com/sectorc.html", "pricing": "", "aliases": ["SectorC", "sectorc", "Sector C", "sectorC"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 793668736, "item_id": 49604296, "url": "https://news.ycombinator.com/item?id=49604296", "by": "kristianp", "date": "2026-09-08", "version": null, "stance": "recommend", "quote": "Sector C might have some insights into how to make this even smaller or more featurefull.", "excerpt": "Sector C might have some insights into how to make this even smaller or more featurefull. It has some interesting hacks. https://xorvoid.com/sectorc.html", "context": "", "use_case": "Tiny C compiler", "switched_from": "", "story": "Making a Python interpreter in 1024 bytes"}, {"id": 793481792, "item_id": 49592612, "url": "https://news.ycombinator.com/item?id=49592612", "by": "gabrielsroka", "date": "2026-09-07", "version": null, "stance": "recommend", "quote": "I wonder if sectorC could compile python1024", "excerpt": "Or sectorC https://github.com/xorvoid/sectorc Edit: I wonder if sectorC could compile python1024", "context": "", "use_case": "", "switched_from": "", "story": "Making a Python interpreter in 1024 bytes"}, {"id": 742346032, "item_id": 46396627, "url": "https://news.ycombinator.com/item?id=46396627", "by": "fuhsnn", "date": "2025-12-26", "version": null, "stance": "recommend", "quote": "This one[1] is similar in style and supports a bit more C constructs.", "excerpt": "This one[1] is similar in style and supports a bit more C constructs. [1] https://github.com/Lulzx/sectorc/blob/master/stage5/cc.c", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["tiny c compiler"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49591876", "title": "Making a Python interpreter in 1024 bytes", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=46941603", "title": "Claude's C Compiler vs. GCC", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46925741", "title": "SectorC: A C Compiler in 512 bytes", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46928435", "title": "Tiny C Compiler", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46392736", "title": "Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"recommend": 1}, "2026-01": {}, "2026-02": {"compare": 1, "neutral": 2}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {"recommend": 2}, "2026-10": {}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 793668736, "item_id": 49604296, "url": "https://news.ycombinator.com/item?id=49604296", "by": "kristianp", "date": "2026-09-08", "version": null, "stance": "recommend", "quote": "Sector C might have some insights into how to make this even smaller or more featurefull.", "excerpt": "Sector C might have some insights into how to make this even smaller or more featurefull. It has some interesting hacks. https://xorvoid.com/sectorc.html", "context": "", "use_case": "Tiny C compiler", "switched_from": "", "story": "Making a Python interpreter in 1024 bytes"}, {"id": 793481792, "item_id": 49592612, "url": "https://news.ycombinator.com/item?id=49592612", "by": "gabrielsroka", "date": "2026-09-07", "version": null, "stance": "recommend", "quote": "I wonder if sectorC could compile python1024", "excerpt": "Or sectorC https://github.com/xorvoid/sectorc Edit: I wonder if sectorC could compile python1024", "context": "", "use_case": "", "switched_from": "", "story": "Making a Python interpreter in 1024 bytes"}, {"id": 751121056, "item_id": 46945066, "url": "https://news.ycombinator.com/item?id=46945066", "by": "tmtvl", "date": "2026-02-09", "version": null, "stance": "neutral", "quote": "the smallest C compiler I know of is SectorC", "excerpt": "I don't know for certain that it can compile and run SQLite, but the smallest C compiler I know of is SectorC: <https://xorvoid.com/sectorc.html>", "context": "", "use_case": "", "switched_from": "", "story": "Claude's C Compiler vs. GCC"}, {"id": 750900624, "item_id": 46931289, "url": "https://news.ycombinator.com/item?id=46931289", "by": "xorvoid", "date": "2026-02-07", "version": null, "stance": "neutral", "quote": "that provided inspiration for SectorC", "excerpt": "Further Fun fact, that submission was called OTCC. I reverse engineered it and that provided inspiration for SectorC. https://xorvoid.com/otcc_deobfuscated.html https://github.com/xorvoid/otcc_deobfuscated", "context": "", "use_case": "", "switched_from": "", "story": "SectorC: A C Compiler in 512 bytes"}, {"id": 750880416, "item_id": 46930026, "url": "https://news.ycombinator.com/item?id=46930026", "by": "senfiaj", "date": "2026-02-07", "version": null, "stance": "compare", "quote": "There is even smaller C compiler that fits within the 512 bytes", "excerpt": "There is even smaller C compiler that fits within the 512 bytes https://xorvoid.com/sectorc.html", "context": "", "use_case": "", "switched_from": "", "story": "Tiny C Compiler"}, {"id": 742346032, "item_id": 46396627, "url": "https://news.ycombinator.com/item?id=46396627", "by": "fuhsnn", "date": "2025-12-26", "version": null, "stance": "recommend", "quote": "This one[1] is similar in style and supports a bit more C constructs.", "excerpt": "This one[1] is similar in style and supports a bit more C constructs. [1] https://github.com/Lulzx/sectorc/blob/master/stage5/cc.c", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines"}]}