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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80bc3e0698be468f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Type safety on wikipedia Date: Thu, 26 Jan 2006 19:19:15 +0100 Message-ID: <43D912A3.2030201@mailinator.com> References: <1138260496.230283.147640@g43g2000cwa.googlegroups.com> <1138283608.433842.76060@z14g2000cwz.googlegroups.com> <43D8E85C.6020805@mailinator.com> <1535741.yb0A0MsH1D@linux1.krischik.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net WYeNaacYWtSA8/B7OF/LIwvlqQeFa0a2jc4BI7wOdJVyEofss= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: <1535741.yb0A0MsH1D@linux1.krischik.com> Xref: g2news1.google.com comp.lang.ada:2656 Date: 2006-01-26T19:19:15+01:00 List-Id: Martin Krischik wrote: > But then Ada is supposed to me GC - only the vendors are to lazy to add an > collector. This is something I've mused about sometimes: Let's suppose some Ada compiler goes ahead and provides a GC. What happens with programs written without taking this into account? AFAIK, there's pragma Controlled (ARM 13.11.3) which /prevents/ collection (this is already curious, since it suggest to me that GC tends to be implemented by default). I have never used it, so, are all my types using unchecked deallocation potentially problematic? Would a compiler implementing GC suddenly start to give errors when instantiating UD for types without this pragma? And what a curious name election? Talking about controlled types can refer to Finalization or to access types with this pragma applied. Just curious.