SI
A header only C++ library that provides type safety and user defined literals for physical units (by bernedom)
dimensioned
Compile-time dimensional analysis for various unit systems using Rust's type system. (by paholg)
SI | dimensioned | |
---|---|---|
4 | 2 | |
482 | 293 | |
- | - | |
8.0 | 0.0 | |
5 months ago | over 1 year ago | |
C++ | Rust | |
MIT License | MIT License |
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.
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
dimensioned
Posts with mentions or reviews of dimensioned.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-03.
-
Frink is a programming language designed to make physical calculations simple
Rust as well. There are at least a few libraries to do it, but I'll link the one I wrote:
https://crates.io/crates/dimensioned
-
Please Put Units in Names
dimensioned[1] got me interested in Rust. I’m not far enough to recommend it, but the concept seems right.
[1] https://github.com/paholg/dimensioned
What are some alternatives?
When comparing SI and dimensioned you can also consider the following projects:
Unchained - A fully type safe, compile time only units library.
CMSIS_5 - CMSIS Version 5 Development Repository
typical - Data interchange with algebraic data types.
mp-units - The quantities and units library for C++
durationcheck - Go linter to detect erroneous multiplication of duration values
image-size - Node module for detecting image dimensions
zen
rink-rs - Unit conversion tool and library written in rust
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.
NodaTime - A better date and time API for .NET