Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Then there's a whole lot more reasons to test with different optimization levels.


Definitely. Even better, have them run inside valgrind or a similar tool, as this type of bug is often laughably easy to locate that way, and sometimes devilishly difficult to find with more crude methods.


When I was doing C/C++ we didn't have valgrind, or at least it wasn't widespread enough for me to hear about it.




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

Search: