Scientific computing with confidence using typed dimensions

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. pint

    Operate and manipulate physical quantities in Python (by hgrecco)

    Something I briefly mention in the post is pint [0] for Python, but unfortunately, I don't think dimensions can be specified via type annotations.

    At least you can check the input of functions at runtime [1].

    [0]: https://github.com/hgrecco/pint

    [1]: https://pint.readthedocs.io/en/stable/advanced/wrapping.html

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. numbat

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

    I haven't had the opportunity to use this in research yet, but i liked numbat [0], as it 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

  4. Physical

    Swift package for physical quantities (by hyperjeff)

    For those coding in Swift, there is the Physical[0] package, that has the advantage of not stating units in comments where they can easily cause mischief.

    [0] https://github.com/hyperjeff/Physical

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Numbat – A programming language with physical dimensions as types

    8 projects | news.ycombinator.com | 16 Nov 2023
  • GNU Units

    7 projects | news.ycombinator.com | 3 Aug 2023
  • misura: Python library for easy unit handling and conversion for scientific & engineering applications.

    2 projects | /r/Physics | 2 May 2023
  • Blue Origin capsule blasts away from booster after anomaly during launch

    1 project | news.ycombinator.com | 12 Sep 2022
  • Senior FPGA Engineer in quantum computing startup, Oxfordshire UK

    2 projects | /r/FPGA | 6 Sep 2022

Did you know that Python is
the 2nd most popular programming language
based on number of references?