GNU Units

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. gnu-units

    GNU Units (mirror)

    Does the GNU projet makes it repositories available online ?

    I'd like to have a look at the code but all I found is an outdated mirror : https://github.com/ryantenney/gnu-units

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. uom-se

    Discontinued JSR 363 - Implementation for Java SE 8

    Looks like it is comparable to javax.measure (https://jcp.org/en/jsr/detail?id=363). I used an implementation of that a few years ago: https://github.com/unitsofmeasurement/uom-se

    It's a complex domain, especially if you get down to having more complex units composed of other units and want to do conversions between metric and imperial. In our case we were dealing with material properties (chemical, physical, magnetic, etc.) and different countries and companies using different ways to record characteristics for materials.

  4. unix-history-repo

    Continuous Unix commit history from 1970 until today

    Or if you'd rather see it in git https://github.com/dspinellis/unix-history-repo/blob/BSD-4-S...

  5. insect

    Discontinued High precision scientific calculator with support for physical units

    Thanks, I did not know that units is able to work with constants. I always used Insect[0] for this.

    0: https://github.com/sharkdp/insect

  6. Unitful.jl

    Physical quantities with arbitrary units

    I've seen a few before, and a quick search yielded a bunch for me, right off the bat. By no means exhaustive:

    Julia: https://github.com/PainterQubits/Unitful.jl

    Python: https://pint.readthedocs.io/en/0.6/

    C++: https://github.com/nholthaus/units

    etc.

    And yes, it has always struck me as strange that date/time/calendar libraries are standard as canonical libraries shipped with language distributions, but units are not.

  7. pqm

    Physical Quantities and Measures (PQM) is a Node and browser package for dealing with numbers with units

    There are heaps of libraries for all languages because it is a fairly fun and straight forward project. I personally created this one because I was frustrated with how slow and clunky the existing javascript libraries were:

    https://github.com/GhostWrench/pqm

    Also, I open sourced just the unit database (in JSON format) for anyone interested in making their own version:

    https://github.com/GhostWrench/unitdb

  8. uom

    Units of measurement -- type-safe zero-cost dimensional analysis

    There's also uom for Rust https://github.com/iliekturtles/uom which also provides types for type level operations

  9. SaaSHub

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

    SaaSHub logo
  10. unix-v6

    UNIX 6th Edition Kernel Source Code

    You are probably right.

    The one in FreeBSD is from NetBSD: https://svnweb.freebsd.org/base/head/usr.bin/units/units.c?v...

    The NetBSD version is from Adrian Mariano: http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/units/units....

    The one in Plan9 is in yacc: http://9p.io/sources/plan9/sys/src/cmd/units.y

    This GitHub repo claims to be V6: https://github.com/memnoth/unix-v6/blob/master/source/s2/uni...

  11. Ruby Units

    A unit handling library for ruby

    > I don’t think I can link Ada libraries into my Ruby or Elixir codebase

    Ruby has (among others, I’m certain): https://github.com/olbrich/ruby-units

  12. UnitSystems.jl

    Physical unit systems (Metric, English, Natural, Planck, etc...)

    Recently I created a library for unit conversion in Julia, which is the most complete tool for unit conversion I am currently aware of

    https://github.com/chakravala/UnitSystems.jl

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

  • A better/faster JavaScript library for physical math

    1 project | news.ycombinator.com | 6 May 2022
  • I'm a beginner making a library for unit conversion, contributions are welcome

    4 projects | /r/cpp | 21 Apr 2023
  • Ask HN: Show your failed projects and share a lesson you learned

    7 projects | news.ycombinator.com | 24 Dec 2021
  • Frink

    5 projects | news.ycombinator.com | 21 Mar 2025
  • Rink: An open source unit-aware calculator

    1 project | news.ycombinator.com | 8 Feb 2025

Did you know that C is
the 6th most popular programming language
based on number of references?