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, MSGID_RANDY 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: Ted Dennison Subject: Re: Code size of Ada ? was Re: Ada95 Strengths/Weaknesses. Date: 1999/09/29 Message-ID: <7stma3$fum$1@nnrp1.deja.com>#1/1 X-Deja-AN: 530754464 References: <37EED7B8.245C0054@yukyonline.co.yuky> <7smp30$9aa1@news.cis.okstate.edu> <7sp8m9$a6e$1@nnrp1.deja.com> <37F0D03C.DE4807D4@icn.siemens.de> <7srnb9$2u3$1@nnrp1.deja.com> <1999Sep29.075617.1@eisner> <37F22BB1.F3524D60@icn.siemens.de> X-Http-Proxy: 1.0 bx6.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Sep 29 18:37:57 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-09-29T00:00:00+00:00 List-Id: In article <37F22BB1.F3524D60@icn.siemens.de>, Alfred Hilscher wrote: > needed parts together. Fifteen years ago I already heared from Ada > vendors that the code _must_ be bigger and slower because Ada is a > powerful language. Maybe this is the reason why many people prefer Bigger perhaps, but not slower. If you hear that from a vendor its just an excuse. Ada actually gives more information to the compiler than C and allows it to make more assumptions. There's no reason why an Ada compiler can't be made to produce *faster* code than a C compiler can. Of course in practice the difference is in the work put into the compiler's optimizer, not in language choice. Of course the user is not blameless in this either. If you don't routinely put constraint checks in your C code due to speed concerns, but don't bother to disable the constraint checks the Ada compiler automaticly gives you, then you have only youself to blame for the slowness that causes. -- T.E.D. Sent via Deja.com http://www.deja.com/ Before you buy.