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-7-bit X-Google-Thread: 103376,1cf653444208df72 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-09 09:18:00 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!wn1feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc06-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BC32336.D86940A6@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada vs. cpp References: <9pgr68$7pu1@news.cis.okstate.edu> <9phnic$9g5$1@nh.pace.co.uk> <5fkv7.134136$w7.19988807@news02.optonline.net> <9pmpk00a53@drn.newsguy.com> <9puvdc$225$1@nh.pace.co.uk> <3BC30621.BDF74138@worldnet.att.net> <9pv4160n1o@drn.newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 09 Oct 2001 16:17:59 GMT NNTP-Posting-Host: 12.86.32.113 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 1002644279 12.86.32.113 (Tue, 09 Oct 2001 16:17:59 GMT) NNTP-Posting-Date: Tue, 09 Oct 2001 16:17:59 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:14050 Date: 2001-10-09T16:17:59+00:00 List-Id: "Robert*@" wrote: > > In article <3BC30621.BDF74138@worldnet.att.net>, James says... > > > > >I would, however, like to see some publicly available GC > >implementations for Ada. > > Unless all Ada implementations provide GC (as an option), you will have > broken Ada. > > Why? > > Becuase if I write an Ada program on a GC enabled compiler/run-time, and later > on > take the code and build on another Ada compiler/run-time which does not > support GC, then my program will not work (opps, forgot to free my own > memory, But I though the run-time will do it for me?) > > THis makes Ada source code much less portable across Ada systems. Not necessarily. If the GC is defined in its own package, then all packages requiring GC will have to state a dependency upon that package. This is no different than using any other package with non-standard dependencies. Jim Rogers Colorado Springs, Colorado USA