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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-02 07:00:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail Message-ID: <3EDB5853.9020105@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X (Ada.Sockets) References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED4A94C.2020501@noplace.com> <3ed4c9a2@news.wineasy.se> <3ED4EB4E.6050108@cogeco.ca> <7vllwk6frm.fsf@vlinux.voxelvision.no> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.62.164.137 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc53 1054562416 24.62.164.137 (Mon, 02 Jun 2003 14:00:16 GMT) NNTP-Posting-Date: Mon, 02 Jun 2003 14:00:16 GMT Organization: AT&T Broadband Date: Mon, 02 Jun 2003 14:00:16 GMT Xref: archiver1.google.com comp.lang.ada:38343 Date: 2003-06-02T14:00:16+00:00 List-Id: Ole-Hjalmar Kristensen wrote: > Sounds logical, but look what's happened to garbage collection. No one > implements it, ergo the user cannot count on it even though it's in the > standard. First, I think this should be fixed in Ada0Y. Not necessarily full garbage collection, but... Ada95 has a requirement that Unbounded_Strings not leak storage. This can be done by reference counting or whatever, but it has to be there. I have a nice little package that uses Unchecked_Conversion to put arbitrary objects in Strings. Obiously pointers "hidden" this way will break the abstraction. But I find it is a very useful language extension. Second, and this is again something that puts no burden on compiler vendors, there should be a standard generic garbage collection package which uses a named storage pool. Write it, propose it, and Ada0Y will have a standard Ada.Garbage_Collection package.