UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies. (by nholthaus)
STX
C++17 & C++ 20 error-handling and utility extensions. (by lamarrr)
Our great sponsors
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.
UNITS
Posts with mentions or reviews of UNITS.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
I want some logically difficult c programs
C++ Version
-
EzGz - An easy to use single header no dependency library for decompression of .gz archives written in modern C++ (probably faster than zlib)
You may be right about this. I'm actually mainly concerned about including as just including it can increase binary size substantially, see e.g. https://github.com/nholthaus/units/issues/32
-
C++ lib for handling SI units
I personally use, and recommend, the units library by Holthaus: https://github.com/nholthaus/units
STX
Posts with mentions or reviews of STX.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-22.
- STX – C++17 and C++ 20 error-handling and utility extensions
- STX v0.0.2 Release
-
Freestanding and exceptions: failfast with STL codebase?
I happen to know of embedded template library and stx (lecture) which are both designed for freestanding, but I've never used them and Idk if they do what you want. I've been messing with macros using statement-expressions for error propagation lately (loosely similar to how SerenityOS uses them), and I like that a lot, but it might only exist in GCC and Clang.
What are some alternatives?
When comparing UNITS and STX you can also consider the following projects:
Scintilla
leaf - Lightweight Error Augmentation Framework
stb - stb single-file public domain libraries for C/C++
SDS - Simple Dynamic Strings library for C
stdman - Formatted C++20 stdlib man pages (cppreference)
Cppcheck - static analysis of C/C++ code
libsigc++
American Fuzzy Lop - american fuzzy lop - a security-oriented fuzzer
casacore - Suite of C++ libraries for radio astronomy data processing
Klib - A standalone and lightweight C library
C++ Format - A modern formatting library