[rescue] Why gcc exists - Re: Help with SunFire V240 Server

Cory Smelosky b4 at gewt.net
Thu Apr 11 21:10:40 CDT 2013

On 11 Apr 2013, at 22:04, "Phil Stracchino" <alaric at metrocast.net> wrote:

> On 04/11/13 13:25, John Floren wrote:
>> gcc really likes to be helpful and optimize for you. We've found that
>> sometimes, it'll optimize out entire loops and function calls, whether we
>> wanted them executed or not!
> I compiled an in-house application with gcc, and was amazed how tiny the
> resulting executable was given the sixty-page functional spec for the
> application and the eighty megabytes of source code.

Now THAT'S optimised!

>  When we ran it, we
> later discovered that instead of performing all the fanciful things our
> VP of Marketing had specified that it should do, it had simply put out a
> contract on the VP of Marketing.  They got him on his way home two days
> later, and it only cost 11% of the marketing budget.
> Needless to say, I was highly impressed.  It really was a far more
> elegant solution to the problem at hand.  I would totally use this
> compiler again in similar circumstances.
> -- 
>  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
>  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
>  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
>                 It's not the years, it's the mileage.
> _______________________________________________
> rescue list - http://www.sunhelp.org/mailman/listinfo/rescue

More information about the rescue mailing list