Agreed with Patrick. This proposal should not be in std::str ... it can live somewhere else...but not there.
-- -Thad +ThadGuidry <https://www.google.com/+ThadGuidry> Thad on LinkedIn <http://www.linkedin.com/in/thadguidry/> On Thu, May 1, 2014 at 4:52 PM, Patrick Walton <[email protected]> wrote: > On 5/1/14 6:53 AM, Malthe Borch wrote: > >> In Rust, the built-in std::str type "is a sequence of unicode >> codepoints encoded as a stream of UTF-8 bytes". >> >> Meanwhile, building on experience with Python 2 and 3, I think it's >> worth considering a more flexible design. >> >> A string would be essentially a rope where each leaf specifies an >> encoding, e.g. UTF-8 or ISO8859-1 (ideally expressed as one or two >> bytes). >> > > This is too complex for a systems language with a simple library. > > Patrick > > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
