SciNim/Unchained
View on GitHub ↗ ★ 122 Nim
A fully type safe, compile time only units library.
10 mentions on Hacker News by 3 people: 0 stories, 10 comments · first 2021-05-11 · latest 2025-10-04
20082026
-
…), mentioned elsethread Re: numeric ranges like Ada, only needs a library for this: https://github.com/SciNim/Unchained FWIW, physical dimensions like meters were the original apples-to-oranges type system that pre-dates all modern notions…
comment by cb321 · 2025-10-04 · in A comparison of Ada and Rust, using solutions to the Advent of Code -
…about a lot of things to think about when writing such a program / lib / programming language. [0]: https://github.com/SciNim/Unchained
comment by V1ndaar · 2023-11-16 · in Show HN: Numbat – A programming language with physical dimensions as types -
…now). In terms of the type creation, though, there is some hope like the Nim Unchained package: https://github.com/SciNim/Unchained
comment by cb321 · 2023-09-15 · in A mathematical formalization of dimensional analysis (2012) -
…(from a short look at the `au`'s docs my biased opinion is it beats `au` on usability :) ). [0]: https://github.com/SciNim/Unchained
comment by V1ndaar · 2023-06-22 · in Show HN: I created Units Converter that contains 5000 units across 78 categories -
You might find this interesting: https://github.com/SciNim/Unchained
comment by cb321 · 2022-03-21 · in Please put units in names -
There's Unchained for Nim: https://github.com/SciNim/Unchained
comment by michaelsbradley · 2021-09-04 · in Pint – A Python package to define, operate and manipulate physical quantities -
…support, the code even looks nice! A more complex use case (I can link more if desired): [1] [0]: https://github.com/SciNim/Unchained/ [1]: https://github.com/SciNim/Unchained/tree/master/examples
comment by V1ndaar · 2021-05-11 · in Atlas, a hopefully better engineering IDE