News for hackers. Stuff that matters.
Re:Rapidstring: Maybe the fastest string library ever by whyever on Wednesday August 01, 2018 @03:32AM (#17660347)
> But it's still just a membuf library, without any string support.

Just like the strings in the C and C++ standard library.

Re:Rapidstring: Maybe the fastest string library ever by rurban on Wednesday August 01, 2018 @04:55AM (#17660714)
Exactly. POSIX and the C/C++ standards don't support strings and utf-8 yet neither. coreutils and grep neither. Most computer languages neither.

It's a mess and a big security risk. We are still in the stone age of string support.

Re:Rapidstring: Maybe the fastest string library ever by flohofwoe on Wednesday August 01, 2018 @06:38AM (#17661272)
At least on Mac the command line utils support international text just fine, all text files are encoded as UTF-8 by convention, and (for instance) grep's case-insensitive search works for non-ASCII characters.
Re:Rapidstring: Maybe the fastest string library ever by burntsushi on Wednesday August 01, 2018 @08:10AM (#17661728)
It's the same on Linux. GNU grep supports Unicode just fine, assuming, of course, your system's locale settings are configured correctly. :-)