× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



When I hear John Sears I think Database and when I hear RPG/COBOL
performance differences in the context of Database, I seem to recall a
time long, long ago when COBOL had the option to work with Database
records directly out of the blocked IO buffer where as RPG always worked
in move mode, moving the records to local variables. I have no idea if
this is still true.

In any case, I agree with you in the general case. There may be real
specific cases where one compiler generates tighter code than another, but
that's not (to me anyway) a real good reason to pick one language over
another. One compiler change can change everything in those types of
comparisions.

Bruce Vining




Barbara Morris <bmorris@xxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/17/2007 04:55 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Re: RPG/COBOL/C






GDS wrote:
According to John Sears (a disciple of DR. Frank) COBOL was and may
still be a faster processing language. It has/had something to do
with generating fewer machine instructions to perform the same
function as compared to RPG.


It's hard to imagine how that could be true. I can imagine a particular
RPG compiler generating worse code than a particular COBOL compiler, but
I can't imagine how all RPG compilers would generate worse code than
all COBOL compilers.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.