Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: vallor Newsgroups: comp.lang.c Subject: Re: technology discussion =?UTF-8?B?4oaS?= does the world need a "new" C ? Date: Thu, 18 Jul 2024 22:23:33 -0000 (UTC) Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <877cdur1z9.fsf@bsb.me.uk> <871q42qy33.fsf@bsb.me.uk> <87ed82p28y.fsf@bsb.me.uk> <87r0c1nzjj.fsf@bsb.me.uk> <87ikxconq4.fsf@bsb.me.uk> <20240711115418.00001cdf@yahoo.com> <20240712154252.00005c2f@yahoo.com> <86o7717jj1.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 19 Jul 2024 00:23:33 +0200 (CEST) Injection-Info: dont-email.me; posting-host="cec9896faeb2c4d3ad91b14d67215f0f"; logging-data="2609692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KCwbSs8C66jUf5Zd1qIc+" User-Agent: Pan/0.159 (Vovchansk; 31ef135; Linux-6.9.9) Cancel-Lock: sha1:7leGl8aBOz9y5TVdt8A9BTKFymk= X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9 wrote in : > On 18/07/2024 15:00, Bart wrote: >> On 18/07/2024 13:41, David Brown wrote: [snip] >>> You are trying to be too smart here, IMHO - the compiler's job is to >>> let the programmer be smart.  It's always nice to have optimisations, >>> but not at the expense of correctness. >> >> That's an odd remark from a devotee of gcc. Your usual attitude is to >> let the programmer write code in the most natural manner, and let a >> smart optimising compiler sort it out. > > Touché :-) > > Compilers can get smarter once you have them simple and correct. /Too/ > smart - generating efficient but sometimes incorrect code - is not helpful. > I was a radioman in the USCG in the days of yore, where we would strive for "secure, reliable, rapid" communications...in that order. The same epithets could be applied to software. -- -v