3 ms·
> how close to being "ready" Rust is? I think that this depends on your expectations, I was quite disappointed to find that there isn't a clean way to make 'un
by renox 13y ago
> how close to being "ready" Rust is?
I think that this depends on your expectations, I was quite disappointed to find that there isn't a clean way to make 'unit types' (second, millisecond, meters, etc) in Rust..
I wouldn't use Rust for anything but toy project..
- wfraser 13y ago> there isn't a clean way to make 'unit types' (second, millisecond, meters, etc) in Rust.. Actually, there's this bit on Tuple Structs[1] in the tutorial: > Types like this can be useful to differentiate between data that have the same underlying type but must be used in different ways. struct Inches(int); struct Centimeters(int); [1] http://static.rust-lang.org/doc/master/tutorial.html#tuple-structs http://static.rust-lang.org/doc/master/tutorial.html#tuple-s...