Hacker GitHub

← All repos

sharkdp/numbat

View on GitHub ↗ ★ 2,823 Rust

A statically typed programming language for scientific computations with first class support for physical dimensions and units

13 mentions on Hacker News by 8 people: 3 stories, 10 comments · first 2023-09-20 · latest 2026-10-24

Mentions per year 13 mentions · busiest year 2023 (6)
20082026
  1. …but I now gravitate towards numbat instead [1]. [0]: https://www.speedcrunch.org/download.html [1]: https://github.com/sharkdp/numbat
    comment by jiehong · 2026-10-24 · in SpeedCrunch 1.1
  2. numbat is my go-to for this: https://github.com/sharkdp/numbat
  3. …(although I guess Rust isn't perfect for native UI at the moment [2]) Keep up the good work! [0]: https://github.com/sharkdp/numbat [1]: https://github.com/project-gauntlet/gauntlet [2]: https://areweguiyet.com/
  4. Try https://numbat.dev/ ( https://github.com/sharkdp/numbat ). It's my go-to for any engineering calculations. It can also run locally. >>> 4 weeks + 59*3 hours -> days 4 week + 59 × 3 hour day = 35.375 day [Time] >>> 5V / 50ohm -> mA 5…
  5. …comes with relevant common units and lets you define your own. It appeared on HN before [1]. [0]: https://github.com/sharkdp/numbat [1]: https://news.ycombinator.com/item?id=38276430
  6. > 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).
  7. Yes. If you want to know more, you can read about it here: https://github.com/sharkdp/numbat/blob/master/assets/reasons...
  8. …on the subject [2], and Numbat follows the original approach in the thesis quite closely. [1] https://github.com/sharkdp/numbat/issues/29 [2] https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-391.pdf
  9. Yes. We use up-to-date currency exchange rates from the European Central Bank [1]. https://github.com/sharkdp/numbat/blob/786512175b99c195a7d5b...
  10. …dimensionless is actually a matter of academic dispute. If you want to know more, take a look at https://github.com/sharkdp/numbat/pull/167 and the references therein.