Hacker News new | past | comments | ask | show | jobs | submit login

Logic bugs with undefined system state are much easier to debug than UB, that is why people use memory-safe programming language.



Citation 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: