UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies. (by nholthaus)
SI
A header only C++ library that provides type safety and user defined literals for physical units (by bernedom)
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
SI
Posts with mentions or reviews of SI.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-20.
-
Please Put Units in Names
In C++ you can use user defined literals to make the units stuff compile time checked, similar to this https://github.com/bernedom/SI for example.
-
SI Unit division not working
source: https://github.com/bernedom/SI
- Widely-used open-source embedded C/C++ libraries?
- C++ lib for handling SI units
What are some alternatives?
When comparing UNITS and SI you can also consider the following projects:
Scintilla
Unchained - A fully type safe, compile time only units library.
stb - stb single-file public domain libraries for C/C++
CMSIS_5 - CMSIS Version 5 Development Repository
stdman - Formatted C++20 stdlib man pages (cppreference)
mp-units - The quantities and units library for C++
STX - C++17 & C++ 20 error-handling and utility extensions.
durationcheck - Go linter to detect erroneous multiplication of duration values
libsigc++
zen
American Fuzzy Lop - american fuzzy lop - a security-oriented fuzzer
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.