3 ms·
> 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 othe
by Etzos 11y ago
> 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.