From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-13 15:00:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!sn-xit-04!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: shannon@daydream.shannon.net (Shannon Hendrix) Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system Date: 13 Jul 2001 16:44:51 -0400 Organization: 32-bit Message-ID: <9inmk3$b1b$1@daydream.shannon.net> References: <993827646.193602@haldjas.folklore.ee> <3B4C98C0.718C3A9B@moene.indiv.nluug.nl> <9iirvc$kij@web.nmti.com> Reply-To: shannon@widomaker.com X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.sys.dec:5769 comp.arch:13932 In article <9iirvc$kij@web.nmti.com>, Peter da Silva wrote: > In article <3B4C98C0.718C3A9B@moene.indiv.nluug.nl>, > Toon Moene wrote: > > > IMHO it was around before PCs. Remember the despairing (when looking > > > at non-portable C code) cry of "this code assumes all the world's a > > > VAX". > > > Doh ! That's just because it's C code. > > We had more problems trying to port "all-the-world's-a-unisys-1100" PL/1 code > to Alpha (36-64 bit) than porting C that had been automatically converted from > PL/M from Sparc to Alpha. > > You can write "all-the-world's-a-XXXX" code in any language. "The determined programmer can write a FORTRAN program in any language". I think that's how the quote goes. I thought that was funny until I got out of college and started work. There some older FORTRAN code there (and at least one of the authors). I was horrified the first time I saw some of the C code, because it took a few moments before I was sure that it _was_ C code. It was a FORTRAN program in C syntax. I don't really hate FORTRAN either, it's just seeing C code written like that made me shudder. Another guy there was an EE, and I'm not sure how I can explain this completely, but he wrote his C code like it was a circuit board. I mean, if he needed to call a function five times to get five results, he wrote five different versions of it... just like laying out five identical chips on a board. The only variance in the function would be a data structure used or something like that. -- UNIX/Perl/C/Pizza__________________________________shannon@widomaker.com