From: peterm@landau.EECS.Berkeley.EDU (Peter Mardahl)
Subject: Re: Dec Alpha C++ Compiler and Templates
Date: 1997/05/03 [thread overview]
Message-ID: <5kft8n$quc$1@agate.berkeley.edu> (raw)
In-Reply-To: 3367A530.5AC0@mail.amsinc.com
In article <3367A530.5AC0@mail.amsinc.com>,
Keith Rubin <keith_rubin@mail.amsinc.com> wrote:
>
>We are currently trying to port a C++ application to the Dec Alpha.
>We are heavily dependent on Templates and are having a lot of
>problems compiling and linking due to the large amount (measured
>Any advice or information is welcome.
We have some alphas which we use for our C++ scientific simulation
code, among other things. This program makes use of templates
as well.
I *did* eventually succeed in getting DEC's c++ 5.1 compiler to work
with our templated code. It was sort of finicky, and
I had to re-write the template code somewhat to get it to work.
I can't remember exactly what I did to it. However, my opinion
is that DEC C++ isn't worth using: it was hard to get working,
AND
once working, it produced SIGNIFICANTLY slower code, even with
these optimization flags:
-migrate -O2
I use g++ 2.7.2 and am very happy. Compiled code is 2.1x faster than
DEC CXX 5.1, AND it compiles more quickly.
Regards,
PeterM
prev parent reply other threads:[~1997-05-03 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-30 4:00 Dec Alpha C++ Compiler and Templates Keith Rubin
1997-05-01 4:00 ` Bill Deegan
1997-05-02 4:00 ` Keith Rubin
1997-05-03 4:00 ` Peter Mardahl [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox