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,168a42f49aadcfd8 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Does ObjectAda optimize at all?? Date: 1998/08/14 Message-ID: <6r2a41$prp$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 381213038 References: <6qcl1i$qij$1@nnrp1.dejanews.com> <35CE22D9.113EAEEC@cts.com> <6qmulq$heb$1@nnrp1.dejanews.com> <35d4797b.244364@SantaClara01.news.InterNex.Net> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Aug 14 21:27:29 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.0; Windows NT; Gateway2000) Date: 1998-08-14T00:00:00+00:00 List-Id: In article <35d4797b.244364@SantaClara01.news.InterNex.Net>, tmoran@bix.com (Tom Moran) wrote: > There is (was?) a suite of Ada benchmarking programs for comparing > compilers. Have you tried that? I presume what you really care about I'm intrigued. Where? > is the size/speed of the generated code, not which optimizations it > does/does not use. > Speed, yes. However, the actual optimizations performed *are* a concern. Many developers have an unfortunate tendency to make complete trash out of their source in an attempt to "optimize" it. (Manual loop unrolling, huge procedures with repeated code, reused variables, global variables, etc.) If I know what our compiler can optimize, I can stop these folks from making an unreadable mess of thier source code for the sake of speed. However, if ObjectAda doesn't do variable optimization, loop unrolling, subprogram inlining, etc., then these folks are right to do this, even though they drasticly worsen the maintainability of the code. That is why I think it is a disservice to your customers to not provide optimizations, even if they never specificly ask for them. T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum