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!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Fri, 11 May 2018 01:10:52 -0700 Organization: A noiseless patient Spider Message-ID: <877eoa4noz.fsf@nightsong.com> References: <87k1sg2qux.fsf@nightsong.com> <87h8njmk4r.fsf@nightsong.com> <87po27fbv9.fsf@nightsong.com> <87in7x62vw.fsf@nightsong.com> <878t8szdtk.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="4776ca6b408eab45c2cc0c9a5f8c8c74"; logging-data="23933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+txPPGZPKoLncU3GzhPtSr" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:0vIrdNePtz6PTBvIOk2Q+oSasvI= sha1:hRLS1+48iOMgZ3HZuhZczml9DGM= Xref: reader02.eternal-september.org comp.lang.ada:52253 Date: 2018-05-11T01:10:52-07:00 List-Id: Niklas Holsti writes: > Yes yes, but at run-time the program allocates space dynamically, as > needed, _in_ the buffers and queues, though usually not by the "new" > keyword but by some application-defined "allocate buffer block" or > "enqueue" operation. And these allocations can fail at run-time, at > least under overload conditions. I'm still kind of surprised to hear that. I thought Ada programs (once running) were supposed to never fail, which means no dynamic anything, just a few allocations that might fail during startup, and then run with those resources and only those resources.