unlib
a light-weight, header-only, dependency-free, C++14 library for ISO units (by gitsbi)
UnitsNet
Makes life working with units of measurement just a little bit better. (by angularsen)
unlib | UnitsNet | |
---|---|---|
1 | 8 | |
31 | 2,854 | |
- | 0.4% | |
4.5 | 9.0 | |
4 months ago | about 1 month ago | |
C++ | C# | |
gtkbook License | MIT No Attribution |
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.
unlib
Posts with mentions or reviews of unlib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-26.
UnitsNet
Posts with mentions or reviews of UnitsNet.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-20.
-
Java opensource projects that need help from community.
If engineering/scientific projects appeal to you, Units of measurement implementations for Java are woefully behind when compared with the likes of UnitsNet for C#.
-
Strong typedefs
Check out EngineeringUnits (https://github.com/MadsKirkFoged/EngineeringUnits), or UnitsNet (https://github.com/angularsen/UnitsNet)
-
General feedback on my first python script
https://github.com/angularsen/UnitsNet is sort of an extreme example of this, and their https://github.com/angularsen/UnitsNet/blob/master/Common/UnitDefinitions/Length.json gives an example of how to allow multiple names for units.
-
TypeDef for C#?
Just FYI: https://github.com/angularsen/UnitsNet
-
What is it about C# that you do NOT like compared to other languages?
(I occasionally use https://github.com/angularsen/UnitsNet/, but it's not quite the same as doing it at the compiler level.)
-
With all the new features and the upcoming features can I inherhit from int yet?
UnitsNet does this for common units of measure, and for a more general solution, there's also ValueOf
-
Preview Features in .NET 6 - Generic Math
Have you looked into using UnitsNet instead of rolling your own physical quantity library? I've used it before and it's pretty nice.
-
Recipes, conversions, and fractions; or how I wrote part of my C# app.
What would be best is if there was a library to use to convert things to and from measurements. This was what I first attempted, using The UnitsNet library. This library is excellent, and I recommend it to many people. The issue I have with it, is that it was far more in depth than what I need it to do.
What are some alternatives?
When comparing unlib and UnitsNet you can also consider the following projects:
au - A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.
CodeHub - CodeHub is an iOS application written using Xamarin
si - The System Initiative software
posh-dotnet - PowerShell tab completion and tooltip support for the dotnet CLI.
cpp11-range - Range-based for loops to iterate over a range of numbers or values
Papercut - Papercut SMTP -- The Simple Desktop Email Server