Article View: comp.std.c
Article #1319Re: for(;;) vs. while(1) is a draw
From: Paul D. Crowley
Date: Tue, 29 May 1990 10:20
Date: Tue, 29 May 1990 10:20
46 lines
2589 bytes
2589 bytes
bph@buengc.bu.edu (Blair P. Houghton) sez in <5915@buengc.BU.EDU> >>The standard does *NOT* say, in any way, shape, or form, that they are >>"exactly the same, when translated into object code without thinking >>about it". > >That's it. > >If one more person puts words in my mouth without my >permission, I'm going to fucking ram my fucking terminal >up their fucking groin. > > I NEVER SAID IT DID, YOU OBSTREPEROUS FUCKING ASSHOLE!!! > >Have you and Doug been sucking pills out of the same prescription >of Stupidity? Where the hell do you get the idea that I say that >ANSI X3.159-1989 says how to generate code? Blair, you're way out of line posting this on comp.std.c. Take insults to alt.flame. In any case, you definitely seemed to imply that you were talking about code. Consider: * You raised the issue because the standard states that for(;;) means for (;1;) which you said meant that it could be no more efficient than while(1). Since everybody already knew they were identical in meaning, seems to me all you can be talking about is the efficiency of the code generated. In other words, the standard specified that the _code_ _generated_ must have an extra comparison. * If you're not worried about the code generated so long as it does what the standard says it should, why the hell were you complaining about "optimization without your permission"? * I seem to remember your saying that a compiler which didn't produce the same code for these two cases would be breaking the law, if it claimed to adhere to the ANSI standard. Blair, people are wrong all the time. No doubt Doug and Gwyn often make mistakes. Why can't you say "Oh, yes, mea culpa" and keep quiet instead of denying you ever said that (praying that no-one can be bothered to dredge up the relevant articles) and flaming the people kind enough to point it out? -- \/ o\ Paul Crowley aipdc@uk.ac.ed.castle /\__/ "Trust me, I know what I'm doing" - Sledge Hammer
Technical Details
Message-ID:
<4298@castle.ed.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aipdcReferences:
<5879@buengc.BU.EDU> <3381@auspex.auspex.com> <5905@buengc.BU.EDU> <3398@auspex.auspex.com> <5915@buengc.BU.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aipdc From: aipdc@castle.ed.ac.uk (Paul D. Crowley) Newsgroups: comp.std.c Subject: Re: for(;;) vs. while(1) is a draw Message-ID: <4298@castle.ed.ac.uk> Date: 29 May 90 10:20:16 GMT Article-I.D.: castle.4298 References: <5879@buengc.BU.EDU> <3381@auspex.auspex.com> <5905@buengc.BU.EDU> <3398@auspex.auspex.com> <5915@buengc.BU.EDU> Reply-To: aipdc@castle.ed.ac.uk (Paul D. Crowley) Organization: Edinburgh University Computing Service Lines: 46