3 ms·
> Trapping should be the default, and disabled only by special user intent, which optimization flags are not. At the cost of making programs slower. For every
by pcwalton 10y ago
> Trapping should be the default, and disabled only by special user intent, which optimization flags are not.
At the cost of making programs slower. For every comment like this we would have 5 comments asking why Rust is slower than C++.
Besides, the real solution is memory safety, which Rust does not compromise. Memory safety stops the vast majority of overflow issues from becoming security problems.