How to Structure C Projects: These Best Practices Worked for Me

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • xmake

    🔥 A cross-platform build utility based on Lua

  • In recent times I prefer Xmake[0] to CMake.

    [0] https://xmake.io

  • EvilUnit

    A library for facilitating unit testing in C89.

  • The tests look much like https://github.com/JonChesterfield/EvilUnit/blob/master/evil.... That's from the self tests for the test framework. It's closely modelled on catch2. Name is because I built the thing out of preprocessor macros to run on freestanding c89.

    The projects using code generation in that fashion are proprietary. There's a makefile at https://github.com/JonChesterfield/boring-makefile/blob/mast... set up to do the src/gen/obj codegen by default structure.

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

    An uninteresting makefile.

  • The tests look much like https://github.com/JonChesterfield/EvilUnit/blob/master/evil.... That's from the self tests for the test framework. It's closely modelled on catch2. Name is because I built the thing out of preprocessor macros to run on freestanding c89.

    The projects using code generation in that fashion are proprietary. There's a makefile at https://github.com/JonChesterfield/boring-makefile/blob/mast... set up to do the src/gen/obj codegen by default structure.

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

  • An Introduction to Modern CMake

    4 projects | news.ycombinator.com | 22 Mar 2024
  • xmake: Fast and lightweight build tools with dependency package integration

    1 project | news.ycombinator.com | 28 Dec 2023
  • Xmake v2.8.5 released, Support for link sorting and unit testing

    1 project | /r/programming | 8 Nov 2023
  • Xmake v2.8.5 released, Support for link sorting and unit testing

    1 project | /r/cpp | 8 Nov 2023
  • Xmake v2.8.3 Released, Improve Wasm and Support Xmake Source Debugging

    1 project | /r/programming | 28 Sep 2023