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-Thread: 103376,15d5eb6390443ef2,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.google.com!newsfeed.stanford.edu!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi150.ffdc.sbc.com.POSTED!b5cf28ff!not-for-mail From: Dimonax Subject: Immutable and Transient Objects and GC? Newsgroups: comp.lang.ada User-Agent: Pan/0.133 (House of Butterflies) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 75.48.217.250 X-Complaints-To: abuse@prodigy.net X-Trace: flpi150.ffdc.sbc.com 1237406864 ST000 75.48.217.250 (Wed, 18 Mar 2009 16:07:44 EDT) NNTP-Posting-Date: Wed, 18 Mar 2009 16:07:44 EDT Organization: at&t http://my.att.net/ X-UserInfo1: OP[YBXWDLJUURW\[BBHZ_WTAUC\NQOPDLXUNNHXIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM Date: Wed, 18 Mar 2009 20:07:44 GMT Xref: g2news1.google.com comp.lang.ada:4175 Date: 2009-03-18T20:07:44+00:00 List-Id: I'm researching the use of Immutable and Transient data structures in regards to Concurrent Garbage collection in Ada. While my focus for the moment is on Garbage Collection, these kinds of data structures look useful for solving a lot of Concurrent programming issues. An Immutable Object, conceptually, is pretty clear. I'm curious as to what methods you guys might have used to handle them. Transient Objects, as a formal data type, might be a bit more challenging. I'd like a Transient Object to behave thusly.... It's created once. It exists until it is accessed one time and one time only, at which point it's storage is either re-initialized or reclaimed by the system. I have some ideas on how this might work. But I'm still dancing around, trying to figure out how to do it well. Tips and pointers? Freejack aka Diogenese