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: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public From: Geoff Bull Subject: Re: Ada vs C++ vs Java Date: 1999/02/09 Message-ID: <36C003DF.3799DC70@acenet.com.au>#1/1 X-Deja-AN: 442362855 Content-Transfer-Encoding: 7bit References: <369C1F31.AE5AF7EF@concentric.net> <79nhe1$3n5@drn.newsguy.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telstra.net X-Trace: nswpull.telstra.net 918553697 203.35.118.1 (Tue, 09 Feb 1999 20:48:17 EST) Organization: Telstra Big Pond Direct MIME-Version: 1.0 NNTP-Posting-Date: Tue, 09 Feb 1999 20:48:17 EST Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.java Date: 1999-02-09T00:00:00+00:00 List-Id: mike wrote: > > > And if you are going to post code that does the same as those 8 lines of > C++ did, you need to show all the code used, UNLESS the code is part of the > Ada standard library. > > You say you have your own AVL tree that you can instantiate it to > unbounded string, and since this is not part of Ada standard library, > then you will have to post the code for that as well :) > Nice test, you put the best feature of C++ (a standard container library) against Ada with constraints imposed to make sure you win. Why wouldn't it be reasonable to allow any pakage available on the PAL (Public Ada Library) to be used - there's a hell of a lot more there than in the C++ standard. Since Ada95 booch components and ACL are freely available, they should be allowed too. How about a short multi-threaded program, and you are not allowed to use anything that is not in the language standard? A million line program, or least a few thousand lines, would be much better indication of a languages capabilities. Then what would you use to measure the winner? a) number of lines of code? b) defect rates? c) number of catastrophic failures? d) overall project cost including on going maintenance costs? e) profits made and customer satisfaction? The obvious choice is (e), and to get it you need (b .. d) and (a) is not an issue. Anybody tried mike's test in Java? Geoff