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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dab7d920e4340f12 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,dab7d920e4340f12 X-Google-Attributes: gid1014db,public From: kdq@emoryi.jpl.nasa.gov (Kevin D. Quitt) Subject: Re: C is 'better' than Ada because... Date: 1996/08/05 Message-ID: <32066ba3.274229471@netline-fddi.jpl.nasa.gov>#1/1 X-Deja-AN: 172306620 references: <31e02c32.342948604@netline-fddi.jpl.nasa.gov> <4rr961$hdk@btmpjg.god.bel.alcatel.be> <31e180c5.430136383@netline-fddi.jpl.nasa.gov> <4s4adc$l4a@ecuador.it.earthlink.net> <31EA0B65.3EF8@wgs.estec.esa.nl> <31EF7E48.5ABE@lmtas.lmco.com> <01bb7bfc$3c5ca460$96ee6fcf@timhome2> <01bb7ea7$b971c5e0$96ee6fcf@timhome2> <9608020139.AA29105@pulsar.telesoft> content-type: text/plain; charset=US-ASCII organization: Speaking only for Myself mime-version: 1.0 reply-to: kdq@emoryi.jpl.nasa.gov newsgroups: comp.lang.ada,comp.lang.c Date: 1996-08-05T00:00:00+00:00 List-Id: I think that anybody who depends on optimization to make their code work or to make it efficient is barking up the wrong tree. Except for unusual circumstances (e.g., embedded code), one should write straightforward, easily debugged/tested/modified code. Once the code works, *then* you turn on the optimizers (and test again). If the code isn't fast enough, first look for a better algorithm. Barring that, look at the code produced and see what the compiler's problem is, and what alternate/equivalent code can be used to help the compiler. This latter is rarely necessary, and usually under exotic circumstances. -- #include _ Kevin D Quitt USA 91351-4454 96.37% of all statistics are made up Per the FCA, this email address may not be added to any commercial mail list