Hacker News new | ask | show | jobs
by im3w1l 3389 days ago
> C/C++ is memory safe if you turn on dynamic checking.

Is anyone here doing this? Would be interesting to hear your experience.

1 comments

If valgrind counts, then yes.
I'll count valgrind if your program always runs in valgrind. Otherwise it doesn't protect you dynamically.
That means CI runs unit tests etc. via

    valgrind --quiet --leak-check=full --error-exitcode=1 *binary*