----- Original Message -----
From: "John Fly" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
Sent: Wednesday, September 07, 2005 2:28 PM
Subject: Performance : COBOL trounces C / C++?
Performance: COBOL trounces C / C++?
<snip>
We *always* see a huge discrepancy in the performance of these
programs, C always being many times slower.
Although I am at a loss as to why.
If I take the same code (Cobol / C / C++) and use it on other platforms
i.e. Unix or Windows the performance of the code is very similar. This
leads me to the conclusion that the complexity of the code is nearly
the same.
I must then turn to the systems themselves : Mainly the compilers and
system related code.
I truly find it difficult to believe that the IBM C compiler is so
horribly ineffective, or that the COBOL compiler is just that much
better at generating efficient code. **There must be a way to bring
our C code's efficiency near that of similar COBOL code.
<snip>
John,
Do you have STROBE or a similar performance analyzer? If so, profile both
programs and see where the time is going.
Regards,
Tom Conley
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html