From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f7344,f136a96409d35cfd X-Google-Thread: 1164f8,f136a96409d35cfd X-Google-Attributes: gidf7344,gid1164f8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 12 Apr 2008 22:16:42 -0500 Date: Sat, 12 Apr 2008 23:16:19 -0400 From: "Richard B. Gilbert" Reply-To: rgilbert88@comcast.net User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: System Programming Resources for Alpha Architecture References: <9401833e-f8d0-4c00-a7f7-82e0b81dc840@p25g2000hsf.googlegroups.com> <47EE79B6.5060303@comcast.net> <48016b0b$0$90272$14726298@news.sunsite.dk> In-Reply-To: <48016b0b$0$90272$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <3sqdnTC49IGH5pzVnZ2dnUVZ_i2dnZ2d@comcast.com> X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 68.44.203.111 X-Trace: sv3-16kH7eOaPcFHTdHa8cDiMhTioaa+STTE2To2Uw96nkP6Esl13/ysS74MRjWmiG5phMr4Q4sHsV2qOUe!/vEt+gtebDG0WTFEYRXb9kChZJI0Vy6PR0mMVf6yNkBRaXVVQSPg4QusGeOI6fZWHqYGeeX8AHoO!NjU/zfTsFro0ALg6S2mwcZOyLypK7Q== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.os.vms:73363 comp.sys.dec:4413 Arne Vajh�j wrote: > Richard B. Gilbert wrote: >> Neil Rieck wrote: >>> Agreed. About 5 years back while I was porting some code from VAX to >>> Alpha, I ran into a bunch of custom DEC-C functions which were mapped >>> onto VAX instructions. A very clever programmer was able to squeeze a >>> few more drops of performance out of an underpowered VAX box, and he >>> probably received a cool bonus for pulling this off, but he should not >>> have done this. >>> >> >> Of course he should have done it! It's what he was paid to do. It >> justifies his existence! > > No - developers are (or should be) paid to produce readable and > maintainable code - not to demonstrate their wizard capabilities. > It depends, strongly, on what is needed. In this case better performance was needed without upgrading the hardware. That sort of hand optimization is rarely done now but in years gone by, programmers earned their money by doing that sort of thing. There was NO SUCH THING as faster hardware unless you were willing to wait a few years for it to be developed! Things are different now. I have more computing power, and disk storage, at my disposal today and in my own home, than Princeton University had thirty years ago. Today's hardware is massively improved over the hardware of thirty years ago. Today's compilers are much better at optimization than programmers are. I've never had any objection to hand optimized code. If it's done, it needs to be documented because someone will have to maintain it. It's largely a dead issue now.