News for hackers. Stuff that matters.
Re:It's Not Wrong that " ".length == 7 by rurban on Saturday August 23, 2025 @07:02AM (#44995047)
> The reason for this lack of handling of Unicode linguistically is simply to make the lexer smaller and faster.

No, it is actually for security reasons. Once you allow non-ASCII identifiers, identifiers will become non identifiable. Only zig recognized that. Nim allows insecure identifiers. https://github.com/rurban/libu8ident/blob/master/doc/c11.md#...

Re:It's Not Wrong that " ".length == 7 by jibal on Saturday August 23, 2025 @09:57AM (#44996025)
Reading is fundamental. I was referring to the Nim lexer. Obviously the reason that it "allows insecure identifiers" is not "actually for security reasons". It is, as I stated, for reasons of performance ... I know this from reading the code and the author's statements.
Re:It's Not Wrong that " ".length == 7 by rurban on Sunday August 24, 2025 @01:37AM (#45001681)
Yes, you are right. Andi didn't care at all, same as PHP.