3 ms·
i think in this context, the author is referring to mainstream (gnu, ms, intel) compilers, that are very mature and have thousands of tests that they must pass
by foxhill 12y ago
i think in this context, the author is referring to mainstream (gnu, ms, intel) compilers, that are very mature and have thousands of tests that they must pass to be eligible for release.
writing a compiler is tricky, and it is almost an absolute certainty that it will have a bug :)
- jevinskie 12y agoNope, even mature compilers are buggy. I find it amusing how often compiler authors have to workaround bugs in other compilers. See: http://search.gmane.org/?query=MSVC+2012&author=&group=gmane.comp.compilers.llvm.cvs&sort=date&DEFAULTOP=and http://search.gmane.org/?query=MSVC+2012&author=&group=gmane... I don't mean to pick on MSVC and many of those are not-yet-implemented issues, it is just the easiest to search for. I've found (and even fixed a few) enough bugs in LLVM/Clang to realize that no compiler is perfect or even close! =)
- foxhill 12y agowell, of course they can be buggy, they are written by humans, after all :) but in my time as a programmer, i think i've seen one bug that was a genuine compiler bug. and this was in floating point arithmetic optimisations. llvm/clang, well, i'd hazard to call them mature (even though apple insists on doing so).