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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: bdbryant@mail.utexas.edu (Bobby D. Bryant) Newsgroups: comp.lang.ada Subject: Re: Type safety on wikipedia Date: Thu, 26 Jan 2006 23:43:30 +0000 (UTC) Organization: dis- Message-ID: References: <1138260496.230283.147640@g43g2000cwa.googlegroups.com> <43D8B95E.80001@mailinator.com> Reply-To: bdbryant@mail.utexas.edu NNTP-Posting-Host: dial-a-128-83-253-11.telesys.its.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: geraldo.cc.utexas.edu 1138319010 25362 128.83.253.11 (26 Jan 2006 23:43:30 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Thu, 26 Jan 2006 23:43:30 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news1.google.com comp.lang.ada:2667 Date: 2006-01-26T23:43:30+00:00 List-Id: On Thu, 26 Jan 2006, "Alex R. Mosteo" wrote: > Martin Krischik wrote: >> Hello >> >> I found this interesting article on Wikipedia which made me think a >> bit: >> >> http://en.wikipedia.org/wiki/Type_safety >> >> Do have a look at the talk page as well. > > After reading that I'm not sure how Ada can be type safe if unchecked > deallocation is a common way of implementing relatively common tasks as > linked lists and so. The explicit example given for "type unsafety" is > easily doable in Ada. > > But I acknowledge that I'm new to the topic, anyone can explain? The Unchecked_Deallocation has to be instantiated for a specific type. Is there a way of using it that isn't type safe? (Surely it isn't the type that's "Unchecked" ?) -- Bobby Bryant Austin, Texas