From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,94044dd34ac72fc0 X-Google-Attributes: gidfee84,public From: Hugues Talbot Subject: Re: Gnu g77/gcc on DEC ALPHA running DEC UNIX Date: 1997/10/22 Message-ID: #1/1 X-Deja-AN: 282321761 Sender: news@news.nsw.CSIRO.AU X-Nntp-Posting-Host: fire.nsw.cmis.csiro.au References: <34462CF3.41C6@whoi.edu> <34486EB9.A6069CC0@reflections.com.au> Organization: CSIRO DMS Newsgroups: comp.unix.osf.osf1 We use Gcc and DEC C a fair bit around here on 21064 processors. In our experience, it is not true that DEC C is significantly faster than gcc. At most 10-20%, and for some applications, gcc has been observed to be faster by a factor of 10-20% as well. We need and use both compilers on a regular basis. However, g77 is not a bona-fide FORTRAN compiler. G77 is still in beta. The DEC FORTRAN compiler is nothing short of amazing in terms of the optimization that it can perform. This is apparently due to the structure of the language, which is generally considered easier to optimize (but I'm not a specialist of these questions) than C. A factor of 2 between g77 and DEC FORTRAN is believable, but not a factor of 10. A factor of more than 30% between DEC C and gcc is hardly believable on a complex application.