News for hackers. Stuff that matters.
Re:String types in Rust by Etzos on Monday March 28, 2016 @04:26PM (#11377095)
> Why is it that some languages can get away with just having 1 unicode string type with libraries to translate to other representations as needed, but not others?

Actually that's almost exactly what Rust is doing. Most of the types of strings you mentioned are added from the FFI library which is used to create bindings to other languages. They are a necessity to convert between the representations nicely.

There are no comments on this comment yet.