Ross ROSS = Recommend OSS · open-source software intelligence for agents

mpusz/mp-units

Some data may be outdated — see provenance labels.

The Domain-Correct Quantities and Units Library for C++ — full quantity kind safety, ISO 80000 compliant, C++29 standardization candidate. observed · 2026-09-22

github.com/mpusz/mp-units · homepage · C++ · MIT (permissive) observed · 2026-09-22

Health v2 · maintenance only

71/100

  • Activity 96
  • Release rhythm 23
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 413
  • age_days: 2981
  • days_rel: 300
  • days_push: 29
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1480 stars · 126 forks observed · 2026-09-22

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

mp-units is a modern C++20/23/26 library providing compile-time-safe quantities and units of measurement, built on the ISO 80000 International System of Quantities. It offers dimensional analysis, quantity kind safety, and multiple systems of units, and is a candidate for C++29 standardization.

Use cases

  • prevent unit conversion bugs like mixing meters and feet at compile time
  • perform dimensional analysis in physics or engineering simulations
  • represent SI and imperial quantities with type safety in C++
  • model domain-specific quantities with quantity kind safety
  • convert between units of measurement safely in C++ code
  • implement scientific computing code with ISO 80000 compliant quantities

When to choose

  • you are writing C++20 or later and need compile-time unit safety
  • your project involves physical quantities, engineering, or scientific computing where unit errors are costly
  • you want an ISO 80000-compliant, actively maintained units library with Conan/CMake support
  • you want to align with the future C++29 standardization effort for quantities and units

When to avoid

  • your project is limited to pre-C++20 compilers
  • you need a runtime-only or dynamically typed units solution
  • you work in a language other than C++
  • you need a minimal header with no build system integration and cannot adopt Conan or CMake

Facets

library · maturity active

math type-system developer-tools programming-languages developer-tools simulation cpp cross-platform units-of-measure dimensional-analysis physical-quantities iso-80000 si-units cpp20 cpp23 compile-time-safety conan quantity-manipulation algorithms cmake

2 sources

Member repositories

RepositoryRoleHealth v2
mpusz/mp-unitsmain71

For agents

markdown · JSON · MCP: product_card(name="mpusz/mp-units")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem