After 3 months I've graduated from Python and am moving on to learning C. Can I get some recommendations for open source C code that is very well written and composed as reading material?

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

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

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

  • Take a look at this. It's basically a well known dev who rewrote a lot of the std libs in a reasonable way. A good place to start. https://github.com/nothings/stb

  • coreutils

    Enhancements to the GNU coreutils (especiall head) (by wertarbyte)

  • Anyway, many of the GNU command-line core utilities are written in C. These are tools that have been developed over decades by some very smart people to reliably serve the needs of millions of Linux users all over the world. If you want examples of clean user-land C code, that’s a good place to start. https://github.com/wertarbyte/coreutils/tree/master/src

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