&gt; It sounds as if the root of the problem is the C standard.<p>Some of it is indeed a problem with the standard. There are other bits though where portability or optimization needs kind of require some level of &quot;undefined&quot; behaviour for the standard. There really are some bits of code that perhaps can&#x27;t be as portable and&#x2F;or as efficient if you code for safety.