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

For what that's worth, Swift has string indexes, they're just opaque and only obtainable through searching or seeking operations.

Rust also has string indexes, they are not opaque, are byte indices into the backing buffer, and will straight panic if falling within a codepoint.



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

Search: