r/ProgrammingLanguages • u/Nuoji C3 - http://c3-lang.org • May 03 '26
Blog post Unsigned Sizes: A Five Year Mistake
https://c3-lang.org/blog/unsigned-sizes-a-five-year-mistake/
91
Upvotes
r/ProgrammingLanguages • u/Nuoji C3 - http://c3-lang.org • May 03 '26
View all comments
Show parent comment
2
u/renozyx May 05 '26
Sure, and? If unsigned integer overflow were trapping by default like they are in Zig, you'd find and correct the issue quickly.
The main problem wih unsigned and C is the "wrap by default" behaviour, most of the time it isn't what you want..