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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: G. B. Newsgroups: comp.lang.ada Subject: Re: Intervention needed? Date: Wed, 27 Mar 2019 19:20:53 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <6e1977a5-701e-4b4f-a937-a1b89d9127f0@googlegroups.com> <6f9ea847-2903-48c8-9afc-930201f2765a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 27 Mar 2019 19:20:53 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="47730b139764eb19b37905bf0c33fef6"; logging-data="11711"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196dmgb3RRnkyYia2O3j9s7snDSf4EjcXw=" User-Agent: NewsTap/5.3.3 (iPhone/iPod Touch) Cancel-Lock: sha1:QZEV3tII4L8/o6zBLMhr+qud0m8= sha1:sTMa7ksWF7AH8xSNaAUMAoLtbFs= Xref: reader01.eternal-september.org comp.lang.ada:55981 Date: 2019-03-27T19:20:53+00:00 List-Id: Optikos wrote: > On Friday, March 22, 2019 at 5:08:49 AM UTC-4, Dmitry A. Kazakov wrote: >> >> From practical point of view any dynamic check is >> a lingering disaster, added complexity and, in general, a lie. >> >> With dynamic checks you write code as if there were no branches in it, >> ignoring the fact that the code branches at all places where the check >> occurs. Something that perform checks is, I think, just proper management if there is awareness of risk. > The mathematical proof of no-leak, no-incorrect-pointer-arithmetic > pointer-correctness must be 100% static (at compile-time) to be useful. > For some N% of Ada programs, will a computation of a proof be predictably finished in time? Static knowledge is a privilege not shared by many, or much, I suppose.