3 ms·
I mean, C is also memory safe when run within valgrind.. at an obvious large performance cost.
by kaba0 2y ago
I mean, C is also memory safe when run within valgrind.. at an obvious large performance cost.
- tialaramex 2y agoTo make this work you need to re-define "memory safety" to the point where it loses any value in a discussion about programming Valgrind has no way to detect trivial global or local array bounds misses so long as they don't stray out of the defined memory. It can't spot this because the resulting executable (the only thing Valgrind sees) is not doing anything that's prohibited - it's nonsense because you used a non-MSL, but the actual executable has some defined behaviour.