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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a46843ba8cee64d2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-19 12:19:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9oa69d$6ej$1@ns.omskelecom.ru> <9oahqo$3on$1@ns.omskelecom.ru> <9oangi$dp8$1@ns.omskelecom.ru> Subject: Re: dinamic object reclamation Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 19 Sep 2001 15:18:58 EDT Organization: http://www.newsranger.com Date: Wed, 19 Sep 2001 19:18:58 GMT Xref: archiver1.google.com comp.lang.ada:13186 Date: 2001-09-19T19:18:58+00:00 List-Id: In article <9oangi$dp8$1@ns.omskelecom.ru>, Anisimkov says... > >If the Ada.Unchecked_Deallocation is Unchecked >what deallocation is "Checked" ? None, unless you make one yourself. The name graphicly emphasises the point that this is an dangerous operation, and you could be hosing yourself if you aren't careful (eg: Deallocating memory that you will need later, deallocating memory that has already been deallocated, deallocating memory on the stack, etc). Ada (unlike many lesser languages) worries about safety, and performing your own manual deallocations is inherently unsafe. As a matter of fact, the entire language is organized in a way to greatly reduce your need for dynamic allocation. If you are an Ada newbie and find yourself wanting to do dynamic allocation, you are probably doing something *wrong*. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com