I love C

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

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

    A set of Data Structures for the C programming language

    If you fancy to take a look, here's the repository.

  • stb

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

    I agree that macro templates are better than at least a naive void * approach. A naive void * approach either requires to vector to carry the element size information around at runtime (yuck!) or requires us to pass the size into every API call (the compiler can then optimize it away, hopefully). However, another approach is to declare the vector as a pointer to the element type (or some variation thereof) and let the compiler infer the element size at every API call, e.g. stb_ds or my own CC (shameless plug).

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

  • CC

    A small, usability-oriented generic container library.

    I agree that macro templates are better than at least a naive void * approach. A naive void * approach either requires to vector to carry the element size information around at runtime (yuck!) or requires us to pass the size into every API call (the compiler can then optimize it away, hopefully). However, another approach is to declare the vector as a pointer to the element type (or some variation thereof) and let the compiler infer the element size at every API call, e.g. stb_ds or my own CC (shameless plug).

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