Convenient generic print() for C

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

    Convenient generic print() for C

  • langs

  • %? was something I proposed on another forum years ago, but more recently tried it out as proof-of-concept when I had the opportunity. (Here are the few dozen lines of code - not C - I used to try it out.)

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

    build-once run-anywhere c library

  • That's cool but to be truly generic you need to do the most extreme thing possible which is attach GDB to the process and print the variable. That way you can do structs and arrays and stuff. For example: https://github.com/jart/cosmopolitan/blob/master/examples/generalized-automatic-datastructure-printing.c

  • FiraCode

    Free monospaced font with programming ligatures

  • There are some wacky programmers' fonts out there that do things like this, ostensibly for readability reasons. This font is Fira Code: https://github.com/tonsky/FiraCode

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