News for hackers. Stuff that matters.
Re:My Experience of building Bytebeat player in Zig by defen on Friday November 07, 2025 @06:39PM (#45852630)
> the common case is small values with periodic very large values

I find that a common scenario here is parsers where "Real world" input will tend to be small but you're also exposed to adversarial input. e.g. a parser for function prototypes would typically not expect to see more than 16 arguments in the wild, but you still need to handle it without erroring in case someone decides to send a 1000-argument function through your parser.

There are no comments on this comment yet.