C++ physical-units

Open-source C++ projects categorized as physical-units

Top 4 C++ physical-unit Projects

  • units

    A compile-time enabled Modern C++ library that provides compile-time dimensional analysis and unit/quantity manipulation. (by mpusz)

    Project mention: I got curious about units of measure in programming languages so I recreated xkcd/687. | reddit.com/r/xkcd | 2022-05-24

    How does it compare with https://github.com/mpusz/units ?

  • SI

    A header only C++ library that provides type safety and user defined literals for physical units

    Project mention: Please Put Units in Names | news.ycombinator.com | 2022-03-20

    In C++ you can use user defined literals to make the units stuff compile time checked, similar to this https://github.com/bernedom/SI for example.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • Units

    A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements (by LLNL)

  • unlib

    a light-weight, header-only, dependency-free, C++14 library for ISO units

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-24.

C++ physical-units related posts


What are some of the best open-source physical-unit projects in C++? This list will help you:

Project Stars
1 units 663
2 SI 389
3 Units 111
4 unlib 30
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.