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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,29850945228df59 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-17 06:43:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Boehm-Demers-Weiser conservative garbage collector and GNAT Date: Tue, 17 Jun 2003 13:43:32 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <1316747.mXveBPtf0Z@linux1.krischik.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1055857412 10804 129.241.83.78 (17 Jun 2003 13:43:32 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 17 Jun 2003 13:43:32 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:39333 Date: 2003-06-17T13:43:32+00:00 List-Id: Ludovic Brenta wrote: > > Yes. I've never really liked GC myself, but the paper that Martin > mentions says that programmers spend up to 30% of their time doing > (and debugging) memory management, and that perhaps this 30% could be > better spent elsewhere. Yes this is true, but ... (se below) > This at the expense of some performance [1] and portability. It's a the problem is that one would probably spend >> 30% trying to port the code to a non GC environment if one only have it for some compilers. -- �It's probably worth pointing out that C's pointer arithmetic is not only dangerous, and a significant source of errors, but it also makes programs run slower.� - James Kanze on comp.lang.ada,comp.lang.c++.moderated