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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f07b9c63c348974b X-Google-Attributes: gid103376,public X-Google-Thread: 1008e3,f07b9c63c348974b X-Google-Attributes: gid1008e3,public From: adaworks@netcom.com (AdaWorks) Subject: Re: A comparison of Ada and Modula 3 Date: 1996/02/20 Message-ID: #1/1 X-Deja-AN: 140250112 sender: adaworks@netcom13.netcom.com references: <4f48un$scs@nntpa.cb.att.com> <311BB3AC.4428@escmail.orl.mmc.com> <4fnvil$n84@stc06.ctd.ornl.gov> organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: comp.lang.ada,comp.lang.modula3 Date: 1996-02-20T00:00:00+00:00 List-Id: Kennel (mbk@jt3ws1.etd.ornl.gov) wrote: : Robert Dewar (dewar@cs.nyu.edu) wrote: : > T.E.D. asks regarding implementing GC in GNAT: : > How tough could it be? :-) In embedded real-time systems, automatic garbage collection can be a serious liability. Ada, the language, must work consistently over a wide-range of applications. Therefore, it is appropriate that GC not be intrinsic to the language. On the other hand, Ada 95 takes the very sensible approach of including a package for Storage Pool management, which, when used with another package, Ada.Finalization, allows the developer to carefully manage the garbage collection processs and even make it automatic when necessary to the design. Furthermore, the Ada general access type feature eliminates many of the issues associated with garbage collection one found in Ada 83 because of the rules related to accessibility and scope. Langauges that consistently do automatic garbage collection will not perform correctly in embedded, hard, real-time (HRTS) weapons systems. They work fine, though, for desk-top systems in which safety is not an issue. Richard Riehle adaworks@netcom.com -- richard@adaworks.com AdaWorks Software Engineering Suite 27 2555 Park Boulevard Palo Alto, CA 94306 (415) 328-1815 FAX 328-1112