Why is std.regex slow, well here is one reason!
Dmitry Olshansky
dmitry.olsh at gmail.com
Sat Feb 25 09:44:32 UTC 2023
On Thursday, 23 February 2023 at 23:11:56 UTC, Walter Bright
wrote:
>> Unicode keeps growing, which is good for compilers, but
>> horrible for standard libraries!
>
> Unicode is a brilliant idea, but its doom comes from the
> execrable decision to apply semantic meaning to glyphs.
Its doom comes from its success. Initial design was simple
enough, and 16 bits should have been enough for everyone. Then
gradually it got extended towards more and more of writing
systems, the marvel here is that it managed to:
- remain compatible with earlier versions
- accommodate the vast complexity with fairly few algorithms and
concepts
- handle technical debt, that is probably what you dislike about
it, but at the scale of the project it’s inevitable
—
Dmitry Olshansky
More information about the Digitalmars-d
mailing list