rink-rs
units
rink-rs | units | |
---|---|---|
4 | 1 | |
397 | 94 | |
- | - | |
7.5 | 5.3 | |
9 days ago | 3 months ago | |
Rust | Haskell | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
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.
rink-rs
- Frink is a programming language designed to make physical calculations simple
-
Fundamental difference between "types" and "units"?
1
-
Scientific Computing in Rust
What is your experience with rink and unit conversion?
units
-
Frink is a programming language designed to make physical calculations simple
It seems to me that Haskell would be a great language for such a thing, ensuring correctness at compile time through the type system, e.g. using the units package https://hackage.haskell.org/package/units https://github.com/goldfirere/units/tree/master/units
It even has nice features like: "The laws of nature have dimensions, and they hold true regardless of the units used. For example, the gravitational force between two bodies is (gravitational constant) * (mass 1) * (mass 2) / (distance between body 1 and 2)^2, regardless of whether the distance is given in meters or feet or centimeters. In other words, every law of nature is unit-polymorphic."
"The units package supports unit-polymorphic programs ..."
What are some alternatives?
cpc - Text calculator with support for units and conversion
smtlib2 - SMTLib2 interface implementation for Haskell
numbat - A statically typed programming language for scientific computations with first class support for physical dimensions and units
polynomial - Haskell library for manipulating and evaluating polynomials
bacon - Scientific Computing in Rust
uncertain - Manipulating numbers with inherent measurement/experimental uncertainty.
fend - Arbitrary-precision unit-aware calculator
monte-carlo - A Monte Carlo monad and transformer for Haskell.
insect - High precision scientific calculator with support for physical units
dimensional - Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+).
google-hashcode-score-2022 - google hashcode 2022 qualification round score calculator
matrix - A Haskell native implementation of matrices and their operations.