News for hackers. Stuff that matters.
Re:tolower() in bulk at speed by tialaramex on Tuesday June 28, 2022 @05:44AM (#31905861)
This sort of stuff is where Iterate Loops are good:

https://github.com/google/wuffs/blob/main/doc/note/iterate-l...

WUFFS wants this because it demands all the checking at compile time (WUFFS code with a potential buffer overflow just won't compile), so if you need bounds checks you'll be writing them out by hand and the iterate loop often allows you to express a correct solution with no actual checks.

There are no comments on this comment yet.