Measuremancer
A library to handle measurement uncertainties & error propagation (by SciNim)
Squants
The Scala API for Quantities, Units of Measure and Dimensional Analysis (by typelevel)
Measuremancer | Squants | |
---|---|---|
1 | 8 | |
20 | 910 | |
- | -0.1% | |
6.7 | 2.9 | |
3 months ago | 9 days ago | |
Nim | Scala | |
- | Apache License 2.0 |
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.
Measuremancer
Posts with mentions or reviews of Measuremancer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-16.
-
Show HN: Numbat – A programming language with physical dimensions as types
Yeah, unicode characters in Nim code are supported. However, if by `x²` you'd want to square an identifier `x`, that won't work. The Nim lexer parses `x²` as a single identifier.
We do have infix unicode operators though. So `x ÷ y` (spacing required though!) could be implemented easily. I use this for `±` in Measuremancer [0] (which btw also supports Unchained units, for error propagation on unitful measurements).
[0]: https://github.com/SciNim/Measuremancer
Squants
Posts with mentions or reviews of Squants.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-24.
-
Improving our safety with a physical quantities and units library
Scala's squants library is a nice implementation of units-of-measure/dimensional-analysis http://www.squants.com
In particular it uses types for dimensions; whilst units are just constructors. Hence `Meters(2)` and `Microns(7)` have the same type (`Length`).
- Show HN: Numbat – A programming language with physical dimensions as types
- The type system is a programmer's best friend
-
Is Scala a good choice for a data intensive web backend?
squants for the “Market” package to use in financial calculations.
-
Please put units in names
take a peek at https://www.squants.com looks like not in your language, but maybe you can apply some same concepts
-
Atlas, a (hopefully) better engineering IDE
You might find the Squants library for Scala interesting; it even seems like an apt usage of some oft-questioned language features.
https://github.com/typelevel/squants
- Ratio Templates?