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,c3a7c1845ec5caf9 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Equality operator overloading in ADA 83 Date: 1997/04/27 Message-ID: #1/1 X-Deja-AN: 237699766 References: <01bc4e9b$ac0e7fa0$72041dc2@lightning> <33692089.5794807@news.airmail.net> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-27T00:00:00+00:00 List-Id: <> That's certainly true, but there are distributed costs for GC, (e.g. restrictions on what pragma Interface can do), so there is a balance here. One of the reasons that Java can more easily introduce GC is that it is a much more closed environment than Ada or C++ (just wait till people start mixing Java and C with the interfacing capability, wild pointers are a menace in C, but they really get to be fun when they mess up the GC structures, and show up as mysterious malfunctions after a few garbage collections :-) So there is a trade off here. What I think would be a nice compromise is to have a storage pool specially for unbounded strings (or similar gizmos) where you got GC in that storage pool -- something to keep looking at ...