Steve, not wanting to put words in your mouth, would you say that ILE is
"un-managed" code?
Please read this link before responding:
http://blogs.msdn.com/brada/archive/2004/01/09/48925.aspx
reflection being the thing that makes your PR prototype source obsolete.
I know you weren't trying to put me on the defensive, but I dislike
prototypes just as much as the next Java/.NET programmer. I would love it
if RPG *PGM and *SRVPGM objects would contain additional meta data
describing parms instead of just the export name of the sub procedures.
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [
mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Steve Richter
Sent: Thursday, June 21, 2007 5:29 PM
To: RPG programming on the AS400 / iSeries
Subject: managed code was: RPG is Dead? Say it aint so!
On 6/21/07, albartell <albartell@xxxxxxxxx> wrote:
no, because ILE, which C, C++ and RPG are based on, does not know
managed
code like .NET and Java.
Java knows managed code? If you are talking about J#, I am sure it
does, but that isn't Java. Nor is RPG.NET the same or even similar to
RPG. The differences are at the syntax level, but in the end it is
still .NET with all of it's limitations (i.e. one platform runtime).
Steve I think you need to define managed code and then relate it to
ILE on i5OS.
managed code is the thing which enforces and ensures the type safeness of
your java or .net code. It is the thing that prevents the buffer overrun or
the error we get in RPG when a parameter contains garbage or the value of
adjacent parameters.
What is kind of an interesting question is what is the difference between
java and .net. and why did java not become as important to i5/OS
applications as .NET has to windows. .NET is very good at working with
Windows APIs and other unmanaged code DLLs. And the .NET classes are all
built to work well with the Windows OS.
I think you will find that i5OS ILE has advantages that managed code
does not (e.g. you DON'T have to all compile down to the same 'sil'
code but instead the language 'interfacing' is offered as a means to the
same end).
I dont follow this at all. In Windows you can still use DLLs ( which are
pretty much the equivalent of a SRVPGM ), but no one does. .NET code is
compiled into assemblies, which provide full support for reflection,
reflection being the thing that makes your PR prototype source obsolete.
-Steve
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.