News for hackers. Stuff that matters.
Re:UTF-8 is a brilliant design by zahlman on Friday September 12, 2025 @07:40PM (#45227950)
> If you actually converted the opaque type to a real integer, or tried to subscript the string directly, an index to the string would be generated.

What conversion rule do you want to use, though? You either reject some values outright, bump those up or down, or else start with a character index that requires an O(N) translation to a byte index.

There are no comments on this comment yet.