Why C++ compiles slowly

Walter Bright newshound2 at digitalmars.com
Wed Aug 25 22:00:25 PDT 2010


Era Scarecrow wrote:
> == Quote from Walter Bright (newshound2 at digitalmars.com)'s article
>> The two secrets to writing fast code are:
>> 1. using a profiler
>> 2. looking at the assembler output of the compiler
>> In my experience, programmers will go to astonishing lengths to avoid doing
>> those two, and will correspondingly expend hundreds of hours "optimizing" and
>> getting perplexing results.
> 
>   There are also those who are not programmers, and don't know what they are doing
> in the first place.

Sure, but my advice is directed at the people who *do* know what they are doing, 
but are avoiding using a profiler and looking at the assembly output.


More information about the Digitalmars-d mailing list