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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Access parameters and accessibility Date: Tue, 16 Dec 2014 22:24:11 +0100 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 16 Dec 2014 21:23:51 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="85d8b18d34e845e60977cf5fe3119a76"; logging-data="21843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y15xg66eCjSiQXSScawDLiiykOVvI6hw=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:Wxynl7OOebRucv7Td+PnvO3PXLA= Xref: news.eternal-september.org comp.lang.ada:24060 Date: 2014-12-16T22:24:11+01:00 List-Id: On 16.12.14 21:47, Randy Brukardt wrote: > What we've actually talked about is giving up on these checks and just > letting misuse be erroneous. Most people don't want to go there if we don't > have to, but since we already go there for Unchecked_Deallocation, we're > already there. Proper dangling pointer checks would be too expensive, sadly > (especially for non-allocated objects). I imagine seeing future subprogram specs look like procedure I_Know_what_I_am_doing (Param : not null unchecked_access Typ); ARGh ;-)