papers
By jeffrey-xiao
tinyformat
Minimal, type safe printf replacement library for C++ (by c42f)
Our great sponsors
papers | tinyformat | |
---|---|---|
4 | 4 | |
1,349 | 517 | |
- | - | |
3.1 | 0.0 | |
10 months ago | 3 months ago | |
TeX | C++ | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
papers
Posts with mentions or reviews of papers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-10.
- Need advice on the best method to store and retrieve data for my situation...
-
Could anyone suggest any resources relating go with Distributed Systems / micro services?
also this: https://github.com/jeffrey-xiao/papers
-
Good books to become a PRO data engineer
If you need to understand architectural design of multiple concepts in Data Engineering, Try reading Designing Data Intensive Applications
- Top 5 book recommendations?
tinyformat
Posts with mentions or reviews of tinyformat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-03.
-
I’m about to start learning C++
printf has some pretty serious security implications. When I want more complicated text printing options than what is easy or terse in iostream then I use the tinyformat library.
-
The Year is 2022 and the Standard is C++20; what is your preferred way to do Text I/O?
The usual way I do I/O is via combining C++ stringstremas with either tinyformat or via an implementation of p0117 "variadic to_[basic_]string, depending on the particular need.
-
[Belay the C++] Yet another reason to not use printf (or write C code in general)
Haven't been able to make it work with MSVC 2012 (the earliest Windows-side compiler I need to support). I myself use tinyformat instead.
-
Is there a real benefit to using cout as opposed to printf that offsets the extra work in formatting?
However, not all is lost. While there are libraries like {fmt} I don't pay attention to them because they are far away into The Future and unusable with my requirements (C++03 support at the earliest, work reasons). Most newfangled libs I've seen are intended for Compilers of the Future, for C++20/C++23 and the like, and with that among other reasons are not generic enough for me. Instead I just use tinyformat that lays on top of both and bridges them, not to mention the biggest sell that is rrtaining the POSIX style printf notation (why didn't {fmt} go with that is still a mystery to me).
What are some alternatives?
When comparing papers and tinyformat you can also consider the following projects:
LEWG - Project planning for the C++ Library Evolution Working Group
C++ Format - A modern formatting library
draft - C++ standards drafts
blackboxwm - A window manager for X11
printf-tac-toe - tic-tac-toe in a single call to printf
glibc-abi-tool - A repository that collects glibc .abilist files for every version and a tool to combine them into one dataset.
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management
stl-header-heft - Measures how parsing overweight the major STLs have become
scnlib - scanf for modern C++
plf_hive - plf::hive is a fork of plf::colony to match the current C++ standards proposal.
AnyAny - C++17 library for comfortable and efficient dynamic polymorphism