> Zig both signed and unsigned integers have undefined behavior on overflow, contrasted to only signed integers in C
make a feature unwanted in C, worse. nice.
make a feature unwanted in C, worse. nice.
In other words, the compiler will enforce that `a + b` does not overflow through all your testing and wherever you explicitly say such checks are required, but turns them into nops for you when you desire speed. You can let the compiler know that you explicitly want wrapping overflow (and not some undefined kind) using the wrapping operator `a +% b`.