Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That sounds more like an implementation issue than a design issue. If you are using UTF-8 actual decoding into Unicode code points is not necessary for most operations and Rust will not do that.

It also does not imply that string operations may fail. String construction from raw bytes may fail, but otherwise the use of UTF-8 strings should not introduce additional failure conditions.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: