From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1435e364be523e9d X-Google-Attributes: gid1164f8,public From: Ben Carter Subject: Re: Alpha Assembly Programming Date: 1997/11/18 Message-ID: <3471C5D8.3248F7C0@pitt.edu>#1/1 X-Deja-AN: 290684380 References: <34622F8E.7529@dso.org.sg> <64st2u$h2g@usenet.pa.dec.com> <3471fb77.0@news.wizvax.net> Organization: U of Pitt. Newsgroups: comp.sys.dec :: Why? Performance? If so, please profile the code before deciding :: to move it to Alpha Macro64. This will help you decide if tuning :: the assembler code by hand is worthwhile -- or the "hot" code is :: somewhere else. : : Geez, AGAIN with the unsolicited commentary on whether the person should : use the language they want to. Sure it's possible to write slow code in : assembly, but there are plenty of other languages that *guarantee* slow : code, yet it's possible to ask questions about programming in those languages : w/o people immediately telling you not to bother. : : John Wilson : D Bit Yes, but you'll notice that this unsolicited commentary comes only with assembly and with very good reason: most people don't realize that there is (usually) no advantage to programming a piece of code in assembly. On the VAX architecture, it very often was worthwhile for performance reasons to code in assembly, but on the Alphas that's not usually true for most people and there are many disadvantages. Stephen is just giving good advice here. I got some unsolicited advice the other day when I asked a question about replacing the crankshaft pulley on my car. The advice was, if you reach the torque specification, stop TQing because you can easily strip the threads on your crankshaft. I was glad the guy gave me the advice. Ben Carter cecropia+@pitt.edu