rink-rs
FsFrink
rink-rs | FsFrink | |
---|---|---|
5 | 1 | |
443 | 5 | |
- | - | |
7.9 | 10.0 | |
15 days ago | about 5 years ago | |
Rust | F# | |
GNU General Public License v3.0 only | - |
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
- Rink issue: Add `assload` and `buttload`
- 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?
FsFrink
-
Frink is a programming language designed to make physical calculations simple
I came across this repo where someone actually took the time to convert Frink's unit data to F# (which also supports units of measure) and I got to wondering if Frink's inspired it.
https://github.com/avestura/FsFrink
BTW, I'd love to see more mainstream languages consider features like units of measure. I understand the tech-debt it would likely-incur, but I think it would be a fun mental exercise to really go through the different languages and ask how one might add units of measure.
For example, in F#, the units are erased when they're compiled, so there is no runtime support for units. But I could imagine a dynamic/weaker typed language implementing it with runtime support where units are implemented like atomic symbols that are paired with numbers. Maybe each compound unit could be represented with a unique symbol that's created at runtime.
Personally, I don't think languages explore enough with interesting literals. Combining units with non-numeric types like strings might make interpolation a little more interesting.
What are some alternatives?
cpc - Text calculator with support for units and conversion
unitdc-rs - A dc-like arbitrary precision quantity calculator.
fend - Arbitrary-precision unit-aware calculator
units - The home of the units Haskell package
bacon - Scientific Computing in Rust
dimensioned - Compile-time dimensional analysis for various unit systems using Rust's type system.
numbat - A statically typed programming language for scientific computations with first class support for physical dimensions and units
google-hashcode-score-2022 - google hashcode 2022 qualification round score calculator
insect - High precision scientific calculator with support for physical units
UnitsNet - Makes life working with units of measurement just a little bit better.