3 ms·
Yeah people say this enough that I added a section about it to the blog: https://blog.burntsushi.net/bstr/#should-byte-strings-be-added-to-std https://blog.burn
by burntsushi 4y ago
Yeah people say this enough that I added a section about it to the blog: https://blog.burntsushi.net/bstr/#should-byte-strings-be-added-to-std https://blog.burntsushi.net/bstr/#should-byte-strings-be-add...
- epilys 4y agoThe needle/haystack thing is the crucial part as you say in the blog. Since grapheme, word separation and sentence segmentation rely on rules that are updated on each unicode version it indeed would be out of place in the standard library. Ideally I'd want them (libicu) on the system level, e.g. standardised in POSIX in libc so that language developers shouldn't need to worry about them.