News for hackers. Stuff that matters.
Re:Try-catch speeding up my code? by nutjob2 on Tuesday May 20, 2014 @04:31AM (#7771668)
It's a compiler bug.
Re:Try-catch speeding up my code? by teebot on Tuesday May 20, 2014 @04:46AM (#7771701)
I wish I could say that more often
Re:Try-catch speeding up my code? by hugi on Tuesday May 20, 2014 @04:52AM (#7771711)
No you don't :)
Re:Try-catch speeding up my code? by dllthomas on Tuesday May 20, 2014 @10:23AM (#7772661)
More often per unit of bug, maybe (... maybe.). No more often per unit of time or unit of code, please!
Re:Try-catch speeding up my code? by yaur on Tuesday May 20, 2014 @05:53AM (#7771816)
maybe try compiling stuff with GCC 2.96 until you get that out of your system. I'm personally very happy that its been years since some weird behavior turned out to be a compiler bug.
Re:Try-catch speeding up my code? by LeonM on Tuesday May 20, 2014 @04:55AM (#7771715)
Believe me, you really don't!
Re:Try-catch speeding up my code? by teebot on Tuesday May 20, 2014 @06:09AM (#7771847)
you're right it must be really tricky to spot and work around it but just the tought of blaming the compiler not sloppy programming is amusing
Re:Try-catch speeding up my code? by mikeash on Tuesday May 20, 2014 @10:00AM (#7772545)
Having found way too many bugs in the OS and compiler, it's amusing at first, but then gets tiresome. It's way easier to fix a bug when you're the one at fault, so any time something looks like it might be in the compiler or OS, I end up fervently hoping that it's not.
Re:Try-catch speeding up my code? by qntmfred on Tuesday May 20, 2014 @09:56AM (#7772522)
there is something oddly satisfying about stumbling upon compiler bugs. here's one i discovered a while back http://stackoverflow.com/questions/11303732/x86-vs-anycpu-re...