* Re: CXX Success Stories ???
2000-05-02 18:37 Blake Carlson
@ 2000-05-02 14:20 ` Peter Petrakis
2000-05-02 19:24 ` Greg Lindahl
2000-05-08 3:44 ` Lance A. Brown
1 sibling, 1 reply; 5+ messages in thread
From: Peter Petrakis @ 2000-05-02 14:20 UTC (permalink / raw)
To: axp-list
> Compaq released the beta of their C++ compiler a while ago which to my
> surprise didn't get much attention on the list. I'm curious if anyone is
> using it, what the general opinion of it is, and if anyone has any
> "success stories" they would like to share.
We'll it helped me compile a version of MySQL that performs flawlessly.
It holds up under load, returns the right DATETIME, and yes it's faster.
I've yet to make an "official" announcement because I want to put it under
real world stress before letting out RPMS. The "new" Alphalinux.org has a
MySQL/PHP4 backend on a much more powerfull Alpha. Once that is out and is
thouroghly thrashed on I'll put out RPMS on ftp.alphalinux.org and
www.mysql.com. If anyone would like to know the process used to make it
compile just email me. NOTE: i've noticed that once I start compiling
things using ccc/cxx when I use libraries bulit with them and link them
with to other thinks like mod_php I'll get unresolved symbols unless I use
ccc/cxx exclusivly.
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 5+ messages in thread
* CXX Success Stories ???
@ 2000-05-02 18:37 Blake Carlson
2000-05-02 14:20 ` Peter Petrakis
2000-05-08 3:44 ` Lance A. Brown
0 siblings, 2 replies; 5+ messages in thread
From: Blake Carlson @ 2000-05-02 18:37 UTC (permalink / raw)
To: axp-list
Hello Everyone:
Compaq released the beta of their C++ compiler a while ago which to my
surprise didn't get much attention on the list. I'm curious if anyone is
using it, what the general opinion of it is, and if anyone has any
"success stories" they would like to share.
<You can stop reading here if you don't want to read my story>
I had a bit of scientific code handed down to me which I've been trying
to understand and optimize for the last few weeks. With GCC (and the
best combination of flags I could find) the runtime was about 40 minutes.
With CXX and the '-fast' flag, the runtime was reduced to 3 minutes on the
same machine (DP264) yielding nearly identical results!
So, I got lucky and CXX picked up something GCC missed. In some of our
other well written programs were not seeing significant performance
differences.
I'm curious about other people's experiences and general impressions. What
do you think of CXX?
Thanks -
Blake
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: CXX Success Stories ???
2000-05-02 14:20 ` Peter Petrakis
@ 2000-05-02 19:24 ` Greg Lindahl
0 siblings, 0 replies; 5+ messages in thread
From: Greg Lindahl @ 2000-05-02 19:24 UTC (permalink / raw)
To: axp-list
> NOTE: i've noticed that once I start compiling
> things using ccc/cxx when I use libraries bulit with them and link them
> with to other thinks like mod_php I'll get unresolved symbols unless I use
> ccc/cxx exclusivly.
This is normal -- different C++ compilers usually don't mix. With different
C compilers you can often get away with it, but it depends. I think Compaq's
goal is to make that work, but you'd have to be sure you didn't use any C++
if you filed a bug report.
-- greg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CXX Success Stories ???
@ 2000-05-02 19:28 Brad Lucier
0 siblings, 0 replies; 5+ messages in thread
From: Brad Lucier @ 2000-05-02 19:28 UTC (permalink / raw)
To: axp-list, blake-carlson; +Cc: lucier, gcc
blake-carlson@uiowa.edu wrote:
> I had a bit of scientific code handed down to me which I've been trying
> to understand and optimize for the last few weeks. With GCC (and the
> best combination of flags I could find) the runtime was about 40 minutes.
> With CXX and the '-fast' flag, the runtime was reduced to 3 minutes on the
> same machine (DP264) yielding nearly identical results!
Right now a lot of work is being put into improving g++; I believe that
any code that runs 13 times as fast when compiled with cxx than when
compiled with the current development version of g++ would be of great
interest to the gcc developers. Please consider making your code
available to them; see
http://gcc.gnu.org
for the mailing lists and other information.
Brad Lucier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CXX Success Stories ???
2000-05-02 18:37 Blake Carlson
2000-05-02 14:20 ` Peter Petrakis
@ 2000-05-08 3:44 ` Lance A. Brown
1 sibling, 0 replies; 5+ messages in thread
From: Lance A. Brown @ 2000-05-08 3:44 UTC (permalink / raw)
To: axp-list
Blake Carlson <blake-carlson@uiowa.edu> writes:
> I had a bit of scientific code handed down to me which I've been trying
> to understand and optimize for the last few weeks. With GCC (and the
> best combination of flags I could find) the runtime was about 40 minutes.
> With CXX and the '-fast' flag, the runtime was reduced to 3 minutes on the
> same machine (DP264) yielding nearly identical results!
> So, I got lucky and CXX picked up something GCC missed. In some of our
> other well written programs were not seeing significant performance
> differences.
A recent Slashdot article is about a review of the Compaq Alpha DS-10
running Linux. The review includes several different benchmarks that
had some very surprising results when run compiled with GCC vs. the
Compaq C compiler available. At the time of the review, GCC was NOT
optimizing code well to run on the Alpha chip; it did not take
advantage of the plethora of registers available, for example. The
Compaq compiler *did* take advantage of all available registers
yielding much better run times in some cases.
The review is on aceshardware.com
--[Lance]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-05-08 3:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-02 19:28 CXX Success Stories ??? Brad Lucier
-- strict thread matches above, loose matches on Subject: below --
2000-05-02 18:37 Blake Carlson
2000-05-02 14:20 ` Peter Petrakis
2000-05-02 19:24 ` Greg Lindahl
2000-05-08 3:44 ` Lance A. Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox