SectorC: A C Compiler in 512 bytes

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • chibicc

    A small C compiler

  • Particularly for this project: x86 encoding reference: http://ref.x86asm.net/ Ralf Brown's Interrupt List: http://www.ctyme.com/rbrown.htm OS Dev: https://wiki.osdev.org/Expanded\_Main\_Page For compiler dev more broadly: Incremental Approach to Compiler Construction: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf (I can't recommend this approach enough. I don't understand why they don't teach it this way normally.) Crafting Interpretors: https://craftinginterpreters.com/ (Not about C but more broadly it might be the best recent work of pedagogy on Compiler Construction) chibicc: https://github.com/rui314/chibicc (A reasonably digestible C implementation) otcc: https://github.com/xorvoid/otcc\_deobfuscated/blob/main/otcc\_commented.c (shameless plug for sure)

  • sectorc

    A C Compiler that fits in the 512 byte boot sector of an x86 machine

  • If you want to see it in all its glory: https://github.com/xorvoid/sectorc

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • otcc_deobfuscated

    OTCC Deobfuscated and Explained

  • otcc: https://github.com/xorvoid/otcc_deobfuscated/blob/main/otcc_commented.c (shameless plug for sure)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts