From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9761e40ea83781e1,start X-Google-Attributes: gid1164f8,public From: "Dr. rer. nat. R. Wester" Subject: C++ and Fortran on DEC Stations Date: 1997/09/12 Message-ID: <34195099.4F31@ilt.fhg.de>#1/1 X-Deja-AN: 271948440 Reply-To: WESTER@ilt.fhg.de Organization: Fraunhofer Institut Lasertechnik Newsgroups: comp.sys.dec 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? Thanks in advance -Rolf ------------------------------------------------------------ # Rolf Wester # Fraunhofer Institut f. Lasertechnik # Steinbachstr. 15, D-52074 Aachen, Germany. # Tel: + 49 (0) 241 8906 0, Fax: +49 (0) 241 8906 121 # EMail: wester@ilt.fhg.de, WWW: http://www.ilt.fhg.de