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: 103376,81cf52699486abe7 X-Google-Attributes: gid103376,public From: Richard D Riehle Subject: Re: Ada95 Strengths/Weaknesses. Date: 1999/09/28 Message-ID: <7sr7me$11v@dfw-ixnews19.ix.netcom.com>#1/1 X-Deja-AN: 530424180 References: <37EED7B8.245C0054@yukyonline.co.yuky> <7smp30$9aa1@news.cis.okstate.edu> <7sp8m9$a6e$1@nnrp1.deja.com> <7spauv$a2g2@news.cis.okstate.edu> <7sqbfv$1tr$1@clnews.edf.fr> <7sqi8p$7pu1@news.cis.okstate.edu> Organization: Netcom X-NETCOM-Date: Tue Sep 28 3:16:14 PM CDT 1999 X-Inktomi-Trace: sji-ca-cache 938549758 22139 209.109.234.48 (28 Sep 1999 20:15:58 GMT) Newsgroups: comp.lang.ada Date: 1999-09-28T15:16:14-05:00 List-Id: In article <7sqi8p$7pu1@news.cis.okstate.edu>, dvdeug@x8b4e53cd. (David Starner) wrote: >It's not a big thing. Occasionally you have to fit a program in a small >space, like on a boot floppy. And it doesn't look good to have a small >game - which could probably fit in under 4k with a brilliant enough programmer >- to be 3/4 of a megabyte. 1) Ada is not at its best when designing code for little programs. It is definitely advantageous when creating large-scale software that involves a team of programmers. C++, used correctly, also fits into that category. 2) Most Ada compilers create a program that includes a set of instructions that act as a "run time environment." The RTE supports a lot of execution time checking that is not typical of languages without an RTE. You can optimize away a lot of] this code. 3) GNAT has a version called GNORT which has no RTE. This will produce smaller code, but then you must include all the checking through selection operations within your code. Sometimes this is a good idea. Sometimes it is not. 4) Toy programs are never an acceptable medium for measuring or comparing programming languages or even development methods. If you decide to create a small program using object-oriented programming, I will build it just as fast and just as well using ad hoc methods. However, if we scale up the problem to a serious application, you will win in both understandability, maintainability, and completion of the job. I, however, will win the prize for consumption of over-the-counter anodyne products. Richard Riehle http://www.adaworks.com