3 ms·
the problem in C is that so much behavior is undefined which implies unreachable for the compiler. this means that C style UB can time travel, delete checks, de
by adgjlsfhk1 4y ago
the problem in C is that so much behavior is undefined which implies unreachable for the compiler. this means that C style UB can time travel, delete checks, delete whole functions and trash the world. rust (and most other languages) just define overflow to wrap which is way safer because you aren't letting the compiler mess with your code using assumptions that might be false.