Steve Richter wrote:

>By a modern language, I mean one that allows modern techniques.
>Strings are defined as a class. All string functions, including "copy"
>execute as calls to methods of the string class.  In RPG  the copy of a
>string executes as a single MI CPYBLAP instruction. In C++ the same copy
>will execute as a function call, memory alloc, byte by byte copy. Much more
>cpu is needed.
I'd sure advocate faster processors, but I seem to disagree with your
logic here. I don't think a faster processor is the only solution to a
poor compiler. I'd prefer that the software guys tie the C++ string copy
to the MI instruction used by RPG.

>In a modern language data members of a data structure are "Set" and "Get"
>using class methods. In RPG, the data members are accessed directly.
>If you follow this methodology in the design of your appl, you wind up
>encapsulating and abstracting all over the place.
>Much more cpu is needed.
I think there is a difference between "consumed" and "needed" and it
might not be that it is all needed here. Maybe standard C++ and Java
libraries should rely on MI instructions. Otherwise it seems like you
are saying, "See, when I used it like a PC server it isn't as good as a
PC server."

>Steve Richter

Chris Rehm

Beloved, let us love one another: for love is of God; and every one
that loveth is born of God, and knoweth God. 1 John 4:7

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.