|
Object garbage collection is important for a language that uses objects
... RPG doesn't.
Date: Sun, 22 Jun 2008 11:50:08 -0500
From: david@xxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: the advantages of garbage collection
Steve Richter wrote:
regarding the future viability of RPG, I think a language has to have
garbage collection and built in object reference tracking ( which
enables the garbage collector to know when the object can be freed ).
I don't follow what garbage collection has to do with RPG.
Object garbage collection is important for a language that uses objects
... RPG doesn't.
Garbage collection is needed to free up memory used by unreferenced
objects ... since RPG doesn't have objects, there can be no unreferenced
objects ... thus, no need for garbage collection.
Anyways ... garbage collection isn't a function of the LANGUAGE ... it's
a function of the execution environment. JAVA the language doesn't
implement garbage collection ... the java Virtual Machine does.
david
--
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.
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.