Hacker News new | ask | show | jobs
by mattnewport 195 days ago
That's not really "fooling" the optimizer, that's kind of the point of volatile. The optimizer not making optimizations is the intended behaviour.
1 comments

You're right, but the article failed to mention that there was a way around the optimizations.