bugsmith@programming.dev to Programming@programming.dev · 11 months agoIntroducing Numbat: A programming language with physical units as typesnumbat.devexternal-linkmessage-square21fedilinkarrow-up1164arrow-down17cross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up1157arrow-down1external-linkIntroducing Numbat: A programming language with physical units as typesnumbat.devbugsmith@programming.dev to Programming@programming.dev · 11 months agomessage-square21fedilinkcross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up3·11 months agoThe uom crate implements this for Rust. The core functionality is based on generics but there are some macros for defining custom measurement systems.
The uom crate implements this for Rust.
The core functionality is based on generics but there are some macros for defining custom measurement systems.