From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb9cd,10b7a9a3731f3fc8 X-Google-Attributes: gidfb9cd,public X-Google-Thread: 1125fa,10b7a9a3731f3fc8 X-Google-Attributes: gid1125fa,public X-Google-Thread: 1164f8,10b7a9a3731f3fc8 X-Google-Attributes: gid1164f8,public X-Google-Thread: f782f,10b7a9a3731f3fc8 X-Google-Attributes: gidf782f,public From: "Ant Moore" Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Date: 1997/12/16 Message-ID: <01bd0a54$17733a00$8404a8c0@ant>#1/1 X-Deja-AN: 298771962 Content-Transfer-Encoding: 7bit References: <34915AEE.41C6@atlas.cheme.cornell.edu> <3491F2D7.28E3@videotron.ca> <3491FFE2.E1D71B82@cgocable.net> <66u8pn$833@usenet.srv.cis.pitt.edu> <3492CA68.16C7916C@cgocable.net> <34955C3B.167E@atlas.cheme.cornell.edu> Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: usenet@btinternet.com X-Trace: plutonium.btinternet.com 882298629 25769 (None) 194.75.226.24 Organization: BT Internet X-Client-Address: 195.99.43.59 Mime-Version: 1.0 Newsgroups: comp.os.ms-windows.nt.admin.misc,comp.os.ms-windows.nt.advocacy,comp.sys.dec,comp.os.ms-windows.nt.misc Jeffrey Potoff wrote in article <34955C3B.167E@atlas.cheme.cornell.edu>... > Maybe C is different, but in all cases with Fortran I've found that > 'optimization errors' were due to non-standard coding practices. If > your code is truely portable you should be able to compile it with > maximum optimization on any platform. Besides, if you can't take > advantage of the compiler optimizations what's the point of running > on faster hardware ? You're essentially throwing away CPU cycles > (and money) because your code isn't optimized. If someone offered you > a new machine that was twice as fast as your old one at no additional > cost you'd take it, wouldn't you ? > > Jeff > Optimization doesn't have anything to do with "non-standard" coding practices. If the code is legal (in that it compiles) then the only difference between optimized code and un-optimized code should be the execution speed (or size, or a combination of both, if that's what you're setting your optimization for). Granted, this can fall down if internal program timings are dependent on the execution time of a particular chunk of code, but then you are simply getting what you deserve for writing poor code. Taking your machine analogy, yes I would have the twice-as-fast machine for nothing, unless that machine didn't work properly, or crashed sometimes, or didn't give the right answers, (or worse still *sometimes* didn't give the right answers)... then I'd stick with the slow machine that worked properly. Cheers, Ant. (Tamworth, England) -- "... Make me one with everything." The Dalai Lama at a hotdog stand. My e-mail address is disguised. Remove .nospam to reply.