Squants
numbat
Squants | numbat | |
---|---|---|
8 | 5 | |
910 | 872 | |
-0.1% | - | |
2.9 | 9.8 | |
6 days ago | 6 days ago | |
Scala | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
Squants
-
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?
numbat
-
Show HN: Numbat – A programming language with physical dimensions as types
> 365·243 ought to be 365·2425 exactly:
Yes. This is also how it is defined: https://github.com/sharkdp/numbat/blob/ba9e97b1fbf6353d24695...
The calculation above is showing a rounded result (6 significant digits by default).
- Programming Language for Scientific Computations
What are some alternatives?
Breeze - Breeze is a numerical processing library for Scala.
rink-rs - Unit conversion tool and library written in rust
Axle - Axle Domain Specific Language for Scientific Cloud Computing and Visualization
Desk - 🔮 The application platform for your cyberpunk desk
PredictionIO - PredictionIO, a machine learning server for developers and ML engineers.
cpc - Text calculator with support for units and conversion
Spire - Powerful new number types and numeric abstractions for Scala.
fathom - 🚧 (Alpha stage software) A declarative data definition language for formally specifying binary data formats. 🚧
rscala - The Scala interpreter is embedded in R and callbacks to R from the embedded interpreter are supported. Conversely, the R interpreter is embedded in Scala.
gleam - ⭐️ A friendly language for building type-safe, scalable systems!
Compute.scala - Scientific computing with N-dimensional arrays
pen - The parallel, concurrent, and functional programming language for scalable software development