3 ms·
In theory you can do that in any language that allows you to override operators. It's definitely being done in Rust. For instance you sleep for `Duration::mil
by the_mitsuhiko 12y ago
In theory you can do that in any language that allows you to override operators. It's definitely being done in Rust. For instance you sleep for `Duration::milliseconds(10)`.
- bjz_ 12y agoStatically checked dimensional analysis is a great deal trickier though.