News for hackers. Stuff that matters.
Re:No Sane Compiler Would Optimize Atomics by xorblurb on Saturday May 14, 2016 @09:12AM (#11695952)
On that particular point of memory orders, this is true.

But on other points about how compiler optimize the simple alternative (-O0) is the binary to be painfully slow, while you still have a dozen of flag to make the binary both fast and safe, but the safe flags are not activated by default. The unsafe mode is activated by default when you compile with -O2. How is this useful? It is just crazy.

There are no comments on this comment yet.