Good C Source Code

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
  • ccan

    The C Code Archive Network

  • ccan library https://github.com/rustyrussell/ccan I think it is used also in the linux kernel(?)

  • awesome-c

    A curated list of awesome C frameworks, libraries, resources and other shiny things. Inspired by all the other awesome-... projects out there.

  • 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
  • stb

    stb single-file public domain libraries for C/C++

  • Sean Barrett's header only libs are great, and popular. It's a good display of how to do simple, effective, no frills APIs.

  • node-raylib

    Node.js bindings for Raylib

  • Raylib is also well liked and, IMO, well put together if you want to look at a very approachable framework kind of project.

  • lwan

    Experimental, scalable, high performance HTTP server

  • 2n

    2048 clone for the console, written in C

  • Probably not that good, but I'm kind of proud of my console clone of 2048.

  • GNU Emacs

    Mirror of GNU Emacs

  • Emacs source should definitely be on the list :).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • limine

    Modern, advanced, portable, multiprotocol bootloader.

  • edk2

    EDK II

  • SQLite

    Official Git mirror of the SQLite source tree

  • The 10k lines of the main btree code at https://github.com/sqlite/sqlite/blob/master/src/btree.c for example are mostly comments and seem pretty reasonable to me considering the sophistication of the stuff there.

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