News for hackers. Stuff that matters.
Re:A cross-platform debugger for Go by DannyBee on Monday April 20, 2015 @09:44PM (#9411860)
"It's going to kill performance, but it's legal to do."

Sure, but it's going to cause the optimizer to do different things than it would have to that variable. As I said, this essentially changes what the compiler is allowed to do, and will expose or hide bugs (usually hide if it hurts the optimizer) :)

One only has to look at the bugzilla's of gcc and llvm to discover all sorts of fun things that barriers hide/expose.

Re:A cross-platform debugger for Go by skybrian on Tuesday April 21, 2015 @12:11AM (#9412239)
It's clearly not useful for tracking down compiler bugs, but might still be useful for more ordinary bugs in single-threaded user code.