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,a59300e1cca1082c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-25 07:46:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!paloalto-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!inmet!not-for-mail From: Tucker Taft Newsgroups: comp.lang.ada Subject: Re: Region-based mem mgmt [was: Re: Safe C++] Date: Tue, 25 Sep 2001 10:46:21 -0400 Organization: AverStar (formerly Intermetrics) Burlington, MA USA Message-ID: <3BB098BD.18B6B582@avercom.net> References: <3BA7A45D.186EE27A@adaworks.com> <20010919072904.O10277-100000@shell5.ba.best.com> <3BB092EC.EDC3F1F@avercom.net> NNTP-Posting-Host: 192.168.24.34 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: inmet2.burl.averstar.com 1001429178 51 192.168.24.34 (25 Sep 2001 14:46:18 GMT) X-Complaints-To: usenet@inmet2.burl.averstar.com NNTP-Posting-Date: 25 Sep 2001 14:46:18 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:13337 Date: 2001-09-25T14:46:18+00:00 List-Id: Tucker Taft wrote: > ... > I agree that we should look closely at "region-based memory management" > for Ada 200X. It is essentially the same thing as mark/release heap > management, but with guaranteed safety. That makes it ideal for > Ada -- provably safe and simple/efficient at run-time. Note that region-based memory management is similar to local access types (collections) in Ada, but can be more flexible, in that the region can be (implicitly) passed as a parameter to a function, with allocation from the appropriate region being performed inside the function. This is similar to what can be accomplished by passing an access type into a generic, but doesn't have some of the issues associated with generic instantiation. We have been talking about "universal" or "anonymous" access types a bit already for Ada 200X. This might be the right place to insert region-based memory management as well. -- -Tucker Taft stt@avercom.net http://www.avercom.net Chief Technology Officer, AverCom Corporation (A Titan Company) Bedford, MA USA (AverCom was formerly the Commercial Division of AverStar: http://www.averstar.com/~stt)