Separating Pixels and Millimeters with Types — Preventing Unit Mix-ups in Dimensional Inspection with Ada (archived 2026-11-13)
How to catch pixel/millimeter mix-ups in image-based dimensional inspection at compile time with Ada derived types, operators removed with abstract, generic packages and fixed-point types, shown with the actual GNAT errors. Archived version of https://comcomponent.com/en/blog/ada-pixel-millimeter-types/, as published on 2026-11-13. The live article is maintained and may change after this date. First published 2026-11-10.
Authors
- Go Komura (ORCID: https://orcid.org/0009-0008-8895-8390)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-13
- DOI
- https://doi.org/10.5281/zenodo.24196485
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00