100k members! To celebrate, what is your favorite piece of C code you have written?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. 2n

    2048 clone for the console, written in C

    Found a minimal non-fatal error, the FILENAME_MAX does not include the NUL byte, so you need to add a +1.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. tilck

    A Tiny Linux-Compatible Kernel

    Cool, man! I'm doing the same thing, but my operating system tries to be compatible with Linux at binary level: https://github.com/vvaltchev/tilck Sometimes, the linux-compatibility thing was a nightmare, but now I'm so happy to see it being able to run applications like vim.

  4. hos-x86

    Discontinued A simple Unix like operating system from scratch.

    An operating system still need to implement lot of things like paging

  5. cave9

    gravity cave-exploration game (SF-Cave goes 3D)

    There's also a 3D game, but that was co-authored with friends. It was also written a long time ago, so it may be a bit more messy.

  6. no

    A silly, useless alternative to the well-known UNIX "yes" command (by Gwlanbzh)

    https://github.com/Gwlanbzh/no A shitty code of mine

  7. miditype

    miditype

  8. LearnC

    Contains source code and resources for the Ebook Learn C Games Programming For Beginners Windows edition.

    An asteroids game. 2,200 lines of C (with SDL2). Best bit is the collision detection which I devised; it's pixel perfect and runs at 60 fps. Windows source code is here (use the asteroids_ch48.zip file) https://github.com/David-H-Bolton/LearnC and Linux https://github.com/David-H-Bolton/LearnCOnLinux

  9. gl-background

    Discontinued A 3D animated desktop background for X.org

    Here you go.

  10. permafrost-engine

    An OpenGL RTS game engine written in C

    I'm into my third year of writing my own RTS game engine in C. Complete with OpenGL rendering, group pathfinding of 1k+ entities, Python scripting, yada, yada, yada.

  11. smenu

    smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.

  12. hx

    Hex editor for the terminal using plain C99 + POSIX libs.

    My Hex editor 'hx' . It started as a learning project but actually grew into something useful :D

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

  • OS_32Bit: 32-bit operating system designed to serve as a platform for learning

    1 project | news.ycombinator.com | 16 Jan 2025
  • iTerm2 Critical Security Fix

    15 projects | news.ycombinator.com | 2 Jan 2025
  • When power cycling your (x86) server isn't enough to recover it

    4 projects | news.ycombinator.com | 25 Dec 2024
  • Title: JAS: A x86 Assembler Framework Seeking Contributors

    1 project | news.ycombinator.com | 25 Dec 2024
  • Atomic Note-Taking Guide

    3 projects | dev.to | 8 Dec 2024

Did you know that C is
the 6th most popular programming language
based on number of references?