www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Optimization fuel

reply bearophile <bearophileHUGS lycos.com> writes:
My experience about this stuff is zero, but is this idea useful to
debug/improve DMD too?

http://blog.ezyang.com/2011/06/debugging-compilers-with-optimization-fuel/

Bye,
bearophile
Jun 27 2011
parent reply Don <nospam nospam.com> writes:
bearophile wrote:
 My experience about this stuff is zero, but is this idea useful to
debug/improve DMD too?
 
 http://blog.ezyang.com/2011/06/debugging-compilers-with-optimization-fuel/
 
 Bye,
 bearophile

In practice, it does pretty much the same job as CyberShadow's dustmite program, which is considerably more general. https://github.com/CyberShadow/DustMite Historically, only about two bugs per year have been found in DMD's optimizer, compared to >1000 bugs/year in the front end.
Jun 28 2011
parent Walter Bright <newshound2 digitalmars.com> writes:
On 6/28/2011 1:33 AM, Don wrote:
 Historically, only about two bugs per year have been found in DMD's optimizer,

Being in continuous use for 25 yeras has a lot to do with that :-)
Jun 28 2011