Hacker GitHub

← All repos

eyalroz/printf

View on GitHub ↗ ★ 649 C

Tiny, fast(ish), self-contained, fully loaded printf, sprinf etc. implementation; particularly useful in embedded systems.

11 mentions on Hacker News by 3 people: 0 stories, 11 comments · first 2022-09-17 · latest 2026-06-03

Mentions per year 11 mentions · busiest year 2025 (6)
20082026
  1. …printf library, targeting mostly embedded devices and other no-standard-library use cases: https://github.com/eyalroz/printf/ I would like to make sure the library can be used on this SoC, and other RISC-V systems; which it probably can,…
    comment by einpoklum · 2026-06-03 · in ESP32-S31
  2. A popular standalone printf-family library in the embedded world is, well, printf : https://github.com/eyalroz/printf which is independent of a C standard library (it doesn't actually do any I/O itself). Originally by Marco Paland, now…
    comment by einpoklum · 2025-11-28 · in Generalizing Printf in C
  3. …Is it really possible to reconcile "no bloat" with "fully standard compliant"? Maybe have a look at https://github.com/eyalroz/printf , if only for the test suite, which looks pretty comprehensive and still fails. Maybe "key features" does…
  4. …source code. You edit the source code. That's the customisation? > Say, compared to these options: https://github.com/eyalroz/printf?tab=readme-ov-file#cmake-o... First, it is customary etiquette to indicate when linking your own…
  5. …links to examples of this? What customization would it support? Say, compared to these options: https://github.com/eyalroz/printf?tab=readme-ov-file#cmake-o...
  6. …the approach taken in the standalone printf implementation I maintain, originally by Marco Paland: https://github.com/eyalroz/printf
  7. …the code, You can make it perfectly portable, with a little macro work. See, ,for example: https://github.com/eyalroz/printf/blob/013db1e345cbb166a7eb7... (this is from the standalone-no-libc-printf-family-implementation I maintain; the…
    comment by einpoklum · 2025-04-22 · in Detecting if an expression is constant in C
  8. …was for printf as a debugging crutch I have actually adapted a library for that particular case: https://github.com/eyalroz/printf/ I started with a standalone printf-family implementation targetting embedded devices, and (among other…
    comment by einpoklum · 2024-12-15 · in Using Libc for GPUs
  9. …or what-not. So, C23? ... that's nice and all, but, let's talk about it in 20 years or so T_T [1]: https://github.com/eyalroz/printf
    comment by einpoklum · 2024-10-15 · in The C23 edition of Modern C
  10. …of a system call which returns an int. I was able to accommodate most (?) of the MISRA rules ( https://github.com/eyalroz/printf/issues/77 ), but mine is just a small library, so I don't know how restrictive they would be for a larger…
    comment by einpoklum · 2023-11-07 · in MISRA C
  11. …and such? (Asking as a person who maintains an important(ish) C library for embedded coders: https://github.com/eyalroz/printf )