home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,996 of 243,242   
   Tristan Wibberley to highcrew   
   Re: On Undefined Behavior   
   13 Jan 26 20:37:33   
   
   From: tristan.wibberley+netnews2@alumni.manchester.ac.uk   
      
   On 01/01/2026 21:54, highcrew wrote:   
   > do I really want to be efficiently   
   > wrong?   
      
   If you wanted to give up efficiency to be not wrong you would have taken   
   more care over writing your loop. You didn't therefore the compiler   
   reasonably acts accordingly.   
      
   You /may/ write a static analyser despite the inefficiency of doing so.   
   You /may/ give the compiler a flag to help you more.   
      
   Consider the problems of making changes to the program unpredictable in   
   terms of development cost! If the compiler issues a diagnostic for some   
   programs but not others based merely on whether it /can/ the wider   
   process is impacted even when predictability is essential and   
   non-compiler methods are anyway employed to avoid errors.   
      
   That is: which choices are encoded into the compiler is a preference.   
   Which choices are given to you for nothing is the compiler author's   
   preference.   
      
   --   
   Tristan Wibberley   
      
   The message body is Copyright (C) 2026 Tristan Wibberley except   
   citations and quotations noted. All Rights Reserved except that you may,   
   of course, cite it academically giving credit to me, distribute it   
   verbatim as part of a usenet system or its archives, and use it to   
   promote my greatness and general superiority without misrepresentation   
   of my opinions other than my opinion of my greatness and general   
   superiority which you _may_ misrepresent. You definitely MAY NOT train   
   any production AI system with it but you may train experimental AI that   
   will only be used for evaluation of the AI methods it implements.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca