News for hackers. Stuff that matters.
Re:Surgical Precision JIT Compilers [pdf] by stormbrew on Monday March 31, 2014 @08:30PM (#7505413)
I'm not sure any compiler actually implements any real optimizations based on const. I suppose possibly on static const variables of basic integer types, but that'd be about all it can do. The existence of the volatile escape hatch, to say nothing of const_cast<>, makes it a pretty useless hint for the compiler.

There are no comments on this comment yet.