bugsmith@programming.dev to Programming@programming.dev · 1 year agoIntroducing Numbat: A programming language with physical units as typesnumbat.devexternal-linkmessage-square23fedilinkarrow-up1161arrow-down16cross-posted to: programming_languages@programming.devhackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up1155arrow-down1external-linkIntroducing Numbat: A programming language with physical units as typesnumbat.devbugsmith@programming.dev to Programming@programming.dev · 1 year agomessage-square23fedilinkcross-posted to: programming_languages@programming.devhackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up4·1 year 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.