From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3498dd887729ed19 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Garbage Collection in Ada Date: 1996/10/16 Message-ID: #1/1 X-Deja-AN: 189949710 references: <01bbb910$f1e73f60$829d6482@joy.ericsson.se> <199610132138291604607@dialup101-6-14.swipnet.se> <19961015122319668722@dialup98-6-12.swipnet.se> organization: New York University newsgroups: comp.lang.ada Date: 1996-10-16T00:00:00+00:00 List-Id: "Yes, but is this really a problem? What you really want to avoid is the program gobbling up ever-increasing amounts of memory over time. If you have global variables around pointing to objects, it is possibly just because you need to avoid egtting your structure deallocated! When I learned Simula after having programmed in Fortran for some time, it took some time to adjust to the new environment, but I experienced GC as a clear advantage. But then I didn't do real-time systems in Simula...." Absolutely, it is definitely a problem. I have seen it in my own code, and in the code of many SPITBOL users. A typical problem is that you are accumulating stuff because for example you main a cross-reference list, and you don't need to reference dead stuff any more, but you forget that this list is still holding on to it. \