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 X-Received: by 10.50.28.15 with SMTP id x15mr1927817igg.5.1405664268548; Thu, 17 Jul 2014 23:17:48 -0700 (PDT) X-Received: by 10.182.131.201 with SMTP id oo9mr574obb.24.1405664268344; Thu, 17 Jul 2014 23:17:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.glorb.com!h18no3422958igc.0!news-out.google.com!j6ni3315qas.0!nntp.google.com!j15no1316645qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 17 Jul 2014 23:17:48 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=73.179.102.101; posting-account=wEPvUgoAAABrLeiz_LRhQ3jeEhyfWVMH NNTP-Posting-Host: 73.179.102.101 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Mission-Critical Design: Ada.Unchecked_Deallocation vs Garbage Collection From: NiGHTS Injection-Date: Fri, 18 Jul 2014 06:17:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:21036 Date: 2014-07-17T23:17:48-07:00 List-Id: In mission-critical design applications, do they favor garbage collectors o= r the unchecked deallocation? The dangling pointer thing is definitely a problem I've had to deal with in= complex C programs that I have debugged. But I can also see how having an = unpredictable pool of memory hanging over the program could be a problem as= well. I suppose this question is highly dependant on the application and t= arget. What are your thoughts on this? When is it better to use garbage collection= and when is it better to use classic new & delete memory management when a= life may be on the line?