Discussion on possibility of a compile-time printf

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

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
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.com
featured
  • C++ Format

    A modern formatting library

  • Compile-time formatting has been recently implemented in {fmt} (https://github.com/fmtlib/fmt/pull/2019 and https://github.com/fmtlib/fmt/pull/2056) by Alexey Ochapov.

  • printf-tac-toe

    tic-tac-toe in a single call to printf

  • behold

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

  • yup, that would be the "CPPX" compiler developed for prototyping reflection and metaprogramming features, also available here

  • static-print

    A GCC 7.1 patch that adds a 'static_print' statement to C++.

  • there was a patch for gcc 7.1 that included that feature: https://github.com/saarraz/static-print

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

  • C++ left arrow operator (2016)

    1 project | news.ycombinator.com | 24 Mar 2024
  • Optimizing the unoptimizable: a journey to faster C++ compile times

    1 project | news.ycombinator.com | 7 Jan 2024
  • The C++20 Naughty and Nice List for Game Devs

    3 projects | news.ycombinator.com | 25 Dec 2023
  • adoption of fmt based logging

    1 project | /r/cpp | 6 Dec 2023
  • What's your favorite c++20 feature that should've been there 10 years ago?

    1 project | /r/cpp | 5 Dec 2023