Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by searealist on Friday April 28, 2017 @12:05AM
(#14216802)
I guess that's why you Rust guys don't have exceptions, so you don't have to pay this cost. </s>
[ Parent
| on HN ]
Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by dbaupp on Friday April 28, 2017 @12:09AM
(#14216820)
(Explanation of the /s: panics use the same mechanism, so the compiler and libraries unfortunately still have to be just as defensive when they're enabled. When the compiler is in -C panic=abort mode, it doesn't suffer from this, but I don't think libraries have a great way to customise/improve their behaviour in that case at the moment.)