▲ | Voultapher 2 days ago | |||||||
Spatial safety can be achieved exhaustively with a single compiler switch - in clang - and a minor performance hit. Temporal safety is much harder and requires software redesign, that's why it still remains in projects that care about memory-safety and try over a long time to weed out all instances of UB, i.e. critical software like curl, Linux and Chromium. Temporal safety is usually also much harder to reason about for humans, since it requires more context. | ||||||||
▲ | IshKebab 2 days ago | parent [-] | |||||||
What flag is that? Address sanitizer has a 2x performance hit so presumably not that? | ||||||||
|