News for hackers. Stuff that matters.
Re:The Rust Platform by pcwalton on Thursday July 28, 2016 @11:58AM (#12181020)
> That felt like a lot of boilerplate to abstract between str and [u8]. Is there a better way to solve that problem?

This doesn't have anything to do with large vs. small standard libraries, because all of these string types are defined in libstd.

Re:The Rust Platform by JoshTriplett on Thursday July 28, 2016 @04:46PM (#12183016)
libstd defines varying amounts of string manipulation and abstraction for those string types, though.

I'd love to see additional support for handling bytestrings in libstd, to make it easier to write code that handles both &str and &[u8].