4 ms·
Logic bugs with undefined system state are much easier to debug than UB, that is why people use memory-safe programming language.
by unrealhoang 8y ago
Logic bugs with undefined system state are much easier to debug than UB, that is why people use memory-safe programming language.
- kbwt 8y agoCitation needed. There is great tooling to pin down incorrect memory accesses when you are using the system allocator (valgrind, clang sanitizers). You're truly on your own if you access logically repurposed memory within a persistent system allocation.