|
|
|
|
|
by keeperofdakeys
4404 days ago
|
|
That's why programs like valgrind are great, they check all your memory allocations, and ensure these kinds of bugs don't occur (though it can only test codepaths that run, and has an overhead for all the checks). This is also why I'm so excited about Rust. Suddenly your compiler and language definition ensure these kinds of bugs can't occur. |
|