mpaland/printf
Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4351
- days_rel: n/a
- days_push: 1248
- n_releases_24m: 0
Adoption not part of the score
3056 stars · 562 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny, dependency-free, thread-safe printf/sprintf/(v)snprintf implementation in a single C file, designed for embedded systems where libc is unavailable or too large. It includes its own fast float/integer conversion routines and extensive compile-time feature trimming options.
Use cases
- replace libc printf in embedded firmware to reduce code size
- add formatted string output to a bare-metal project without linking libc
- get thread-safe, malloc-free sprintf/snprintf in C
- print floats and integers over serial UART on a microcontroller
- disable float or long long support via compile flags to shrink footprint
- use a standard-compliant printf in an IoT or RTOS project
When to choose
- you need printf-family formatting on embedded targets without libc
- code size and no dependencies are critical
- you need reentrant, thread-safe formatting with no static buffers
- you want a mature, well-tested single-file C implementation
When to avoid
- you already link against a full libc with printf
- you need wide-character or locale-aware formatting
- you need a maintained project with frequent updates
- you need C++ iostream-style or extensible custom format specifiers
Facets
library · maturity maintenance
serialization embedded developer-tools embedded-systems developer-tools iot c cpp embedded cross-platform printf sprintf snprintf libc-replacement no-dependencies thread-safe single-file tinyprintf
1 source
- readme: https://github.com/mpaland/printf · fetched 2026-08-28 · 609f7090c5fa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mpaland/printf | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem