Improving our safety with a physical quantities and units library

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
sponsored
  1. Squants

    The Scala API for Quantities, Units of Measure and Dimensional Analysis

    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`).

  2. SaaSHub

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

    SaaSHub logo
  3. manifold

    Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.

    The manifold[1] project for Java lets you write unit expressions directly.

    Force force = 5kg * 9.807 m/s/s;

    1. https://github.com/manifold-systems/manifold/tree/master/man...

  4. unit-syntax

    For folks interested in this kind of thing, I wrote a python package called [unit-syntax](https://github.com/ahupp/unit-syntax) that adds physical unit syntax to python:

    ```

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