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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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`).

  • 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...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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