PL/i to RPG or Java ?

Any IBM i topic that does not fit in another forum
Post Reply
Posts: 1
Joined: Fri Jun 21, 2024 10:51 am

PL/i to RPG or Java ?

Post by PavanT »

Which is the better platform to migrate from PL/i
2) Java
Posts: 16
Joined: Thu Jul 29, 2021 1:33 am

Re: PL/i to RPG or Java ?

Post by vhamberg »


I think it depends on the kind of applications you have in PL/I, as well as which database you are using.

Is this on IBM i?
Are they business applications?

If that is the case, I suggest RPG is better, since it is native on IBM i, and it is designed to work directly with the relational database on IBM i, or with embedded SQL.

Java is a general-purpose language - it can be used for business applications an IBM i, but it is not going to be as easy to use as RPG is.

Scott Klement
Site Admin
Posts: 732
Joined: Sun Jul 04, 2021 5:12 am

Re: PL/i to RPG or Java ?

Post by Scott Klement »

What flavor of ice cream is better?

1) Vanilla
2) Chocolate

The difference between programming languages is largely a matter of opinion. There are different strengths and weaknesses to each.

Personally I would never choose Java... it's one of my least favorite programming languages, and uses a lot of system resources. But a lot of people like it, it's among the most popular languages in the world, and is cross-platform.

RPG on the other hand is much more efficient for writing business and database applications. It is much faster and uses fewer resources than Java, and integrates completely with IBM i. But, RPG is not cross-platform and is not nearly as mainstream as Java.

If being cross-platform or mainstream was important to me, however, I'd pick something else such as Python or JavaScript (don't confuse the similarity between the names, Java and JavaScript are NOT alike.) I prefer mint ice cream over either Vanilla or Chocolate, too. But again, that's just my opinion... other people would choose differently.

Whenever you ask "is X better or Y better" it is almost never a productive discussion unless you are explicit about the criteria by which you are judging what "better" means.
Post Reply