From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9761e40ea83781e1 X-Google-Attributes: gid1164f8,public From: billm@cygnus.com (Bill Moyer) Subject: Re: C++ and Fortran on DEC Stations Date: 1997/09/15 Message-ID: <5vkcq8$igg$1@andros.cygnus.com>#1/1 X-Deja-AN: 272831176 References: <34195099.4F31@ilt.fhg.de> Organization: Cygnus Support, Mountain View, CA Newsgroups: comp.sys.dec In article <34195099.4F31@ilt.fhg.de> WESTER@ilt.fhg.de writes: > >Hi, > >I made some tests comparing the speed of a DEC Personal Workstation 433 >au (DEC UNIX 4.0b) and a DEC Alpha 3000/600 (VMS). A program, written in >Fortran77 ran 7 times faster on the 433 au but another program written >in C++ was only 2.1 times faster on the 433 au compared to the >Alpha 6000/300. I compiled the Fortran and the C++ program both with >-O4. Does anybody know why C++ is so much slower than Fortran on the 433 >au? Your situation is not clear to me. Can you post the performance of the fortran program running on the DEC Alpha 3000/600 and the 433 au, and the performance of the C++ program running on the DEC Alpha 3000/600 and the 433 au please? The way your post reads, it sounds like you're comparing the performance difference of the fortran code on both machines to the performance difference of the C++ code on both machines, which doesn't make sense. -- ttk --