fmtlib/fmt
A modern formatting library observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 99
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 36.0
- age_days: 5017
- days_rel: 78
- days_push: 10
- n_releases_24m: 9
Adoption not part of the score
23765 stars · 2959 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
{fmt} is a fast, safe C++ formatting library providing an alternative to C stdio and C++ iostreams, implementing C++20 std::format and C++23 std::print. It offers Python-like format string syntax, portable Unicode support, and high-performance floating-point and integer conversion.
Use cases
- format strings in c++ faster than printf
- replace iostreams with a modern formatting api
- implement std::format on older c++ compilers
- format floating point numbers with correct rounding
- safe printf with positional arguments
- format dates and times with chrono
- format user-defined types in c++
When to choose
- you need fast, type-safe text formatting in C++
- you want std::format/std::print on compilers lacking them
- you need portable Unicode-aware formatting across platforms
When to avoid
- your project is C-only (use a C formatting library instead)
- you need locale-specific number formatting beyond positional arguments
- you are locked into iostream-based logging frameworks already
Facets
library · maturity stable
serialization developer-tools developer-tools cross-platform performance cpp cross-platform windows formatting printf iostreams unicode chrono std-format floating-point linux macos
2 sources
- readme: https://github.com/fmtlib/fmt · fetched 2026-08-28 · 2c19a9dd54ac
- homepage: https://fmt.dev · fetched 2026-08-29 · 1f5ada7b7977
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fmtlib/fmt | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem