News for hackers. Stuff that matters.
Re:The Rust Platform by legulere on Thursday July 28, 2016 @01:37AM (#12178534)
> We have one string type defined in std, and nobody is defining new ones (modulo special cases for legacy encodings which would not be worth polluting the default string type with).

There's also `inlinable_string`, `string_cache`, `tendril`, `intern` if you need inlining for performance.

The bigger problem is with other things like 2D/3D points which can be (f32, f32), [f32; 2] or a custom struct.

There are no comments on this comment yet.