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,345a8b767542016e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-16 11:52:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <3c90af1e@news.starhub.net.sg> <3c91bfa3.1987537@news.demon.co.uk> <3pm69u85j4h7efndahkean6trom5utk21m@4ax.com> <00t69uso35hmunf5mpnfn37ggd9q59tctu@4ax.com> Subject: Re: memory leakages with Ada? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 208.191.177.131 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 1016308264 ST000 208.191.177.131 (Sat, 16 Mar 2002 14:51:04 EST) NNTP-Posting-Date: Sat, 16 Mar 2002 14:51:04 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: Q[R_PJSCTS@USVT^ORHL_IXBUSXHQD\MNPWZKB]MPXH@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Date: Sat, 16 Mar 2002 19:51:04 GMT Xref: archiver1.google.com comp.lang.ada:21338 Date: 2002-03-16T19:51:04+00:00 List-Id: "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.