From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,93329fe3d505a041 X-Google-Attributes: gid111c93,public From: neideck@kar.dec.com (Burkhard Neidecker-Lutz) Subject: Re: DEC C++ same Gnu C++? Date: 1997/10/20 Message-ID: <62g08q$rjq@usenet.pa.dec.com>#1/1 X-Deja-AN: 282012900 References: <3448e191.9335164@news.hol.fr> <62aof0$4g5$1@maxwell.EECS.Berkeley.EDU> Organization: CEC Karlsruhe Newsgroups: comp.os.linux.alpha In article <62aof0$4g5$1@maxwell.EECS.Berkeley.EDU> peterm@maxwell.EECS.Berkeley.EDUNOSPAM (Peter Mardahl) writes: >DEC CXX is NOT the same as G++ for linux/alpha, no, not at all, not >remotely. This is true. >When I tried DEC CXX 5.0 and compared the resulting code to G++, >the G++ code was 2x as fast, and compiled more quickly, with both >compilers at their highest optimization levels. Embarassing, but true for version of DEC C++ up to V5.2. The optimizer backend of everything before that was, well, lacking. With V5.3 and upwards, the Digital C++ compiler now uses the same GEM compiler backend that the other languages use (and as those users that have access to both DEC C and DEC Fortran can attest, these compilers can beat GNU C and GNU Fortran quite handily), it helped DEC C++ quite a bit as well. >DEC CXX is a commercial product, while g++ is free, so the clear superiority >of g++ wass shocking. You'd think DEC would make a good C++ compiler. We do now. The current version is V5.7 and should be good. Burkhard Neidecker-Lutz CEC Karlsruhe , European Applied Research Center, Digital Equipment Corporation email: neideck@kar.dec.com AlphaServer 4000 5/600: SPECint(_base)95 18.8(17.0), SPECfp(_base)95 29.2(27.0)