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,5d3a1501d97dab65 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: C to Ada : a piece of code Date: 1996/09/14 Message-ID: #1/1 X-Deja-AN: 180531020 references: <3231732C.2781@virgoa4.in2p3.fr> <01bb9d61$537fe5e0$2b8371a5@dhoossr.iquest.com> <01bb9e40$d0312d80$348371a5@dhoossr.iquest.com> <514lpk$i0m@fozzie.sun3.iaf.nl> <51a4gb$fd@fozzie.sun3.iaf.nl> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-09-14T00:00:00+00:00 List-Id: Geert says "The effects of these errors are hard to detect and when detected, these errors are hard to debug and solve. Since modern garbage collectors provide a good solution for these problems, it is very desirable (sp?) to have one for GNAT. " Yes, but I wold not call the kind of half baked conservative GC you are talking about a "modern garbage collector", but more like a kludge. I agree GC is useful, but it needs to be done properly, so that ithas predictable characteristics. and properly reclaims all unused storage. Sure, I understand that you can add something half-baked in a semi-transparent manner, but (a) as you worry about, it will not necessarily work in a functionally correct manner, depending on what code is genrerated, and (b) it may not free storage that is no longer in use. Neither behavior seems desirable for any garbage collector, modern or not!