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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,345a8b767542016e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-16 12:40:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!news.compuserve.com!news-master.compuserve.com!not-for-mail From: DPH Newsgroups: comp.lang.ada Subject: Re: memory leakages with Ada? Date: Sat, 16 Mar 2002 15:40:30 -0500 Organization: CompuServe Interactive Services Message-ID: References: <3c90af1e@news.starhub.net.sg> <3c91bfa3.1987537@news.demon.co.uk> <3pm69u85j4h7efndahkean6trom5utk21m@4ax.com> <00t69uso35hmunf5mpnfn37ggd9q59tctu@4ax.com> NNTP-Posting-Host: mid-tgn-nos-vty168.as.wcom.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: suaar1aa.prod.compuserve.com 1016311214 2464 216.192.78.168 (16 Mar 2002 20:40:14 GMT) X-Complaints-To: newsmaster@compuserve.com NNTP-Posting-Date: 16 Mar 2002 20:40:14 GMT X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:21346 Date: 2002-03-16T20:40:14+00:00 List-Id: On Sat, 16 Mar 2002 19:51:04 GMT, "Pat Rogers" wrote: >"DPH" wrote in message >news:00t69uso35hmunf5mpnfn37ggd9q59tctu@4ax.com... >> On Sat, 16 Mar 2002 15:51:05 +0000 (UTC), Preben Randhol >> wrote: >> >> >On Sat, 16 Mar 2002 09:56:41 -0500, DPH wrote: >> >> >> >> this goes back to a post I made last month. I'm just wondering if Ada >> >> is all that much less error prone when you start comparing it with C++ >> >> development environments in the wildly popular platforms of Windows >> >> and Linux, but especially windows. There are just scads of tools to >> >> do about everything (except reliably find the memory leaks of C++, >> >> although there may be - and I just haven't run across it yet) and >> >> those tools are generally cheaper due to economy of scale. >> > >> >Ask yourself: Why do so many tools exist for C++? >> >> 'Cuz tthey're necessary. >> >> 'Cuz there's such a huge user base that they could make money on them >> even if they weren't necessary - they would still be convenient and >> therefore saleable. >> >> The question is - do they compensate enough for C++'s inherent >> tendancy to fool programmers into doing something ugly, coupled with >> the hoarde of people that know the language, to make them viable >> competiton for Ada in some limited programming environments like >> Windows and Unix/Linux? Can you get an equally reliable program from >> an experienced C++ prgrammer with sophisticated tools that you get >> from an experienced Ada programmer for which the same tools don't >> exist? > >Not sure that works, though, for two reasons: > > 1) The tools are built into the language for the Ada side, so for the >most part they do exist and are comparably priced nowadays, > > 2) The better question might be -- "At what price can these more or less >equally reliable programs be created?" > >There is plenty of evidence that Ada is much more cost-effective than C for the >application domain Ada was designed for. Unfortunately I don't know of much >meaningful comparison data for Ada vs. C++. I know what my "gut" tells me, >but that isn't so useful in this context. I suspect that Ada may still win in those environments too, but it might not be such a dramatic difference as in, say, Ada written to VxWorks. Dave Head