Re: Yet Another Spinoza Challenge
- From: "Malcolm McLean" <regniztar@xxxxxxxxxxxxxx>
- Date: Sun, 6 Sep 2009 18:52:00 +0100
"spinoza1111" <spinoza1111@xxxxxxxxx> wrote in message
...I dunno why he said that, but in general, the miserable C99Undefined behaviour is to make it easy to write optimising compilers. On
"standard" makes it easy to cover up ignorance by saying things are
undefined: it's a sort of Copenhagen interpretation of C but far less
intellectually responsible than the epistemology of quantum theory.
some platforms an overflowing integer might automatically trigger an
excpetion which is hard to override. On another one it might be difficult to
detect overflow at all. By saying "the behaviour on overflow is undefined"
both the compilers can simply emit the code register a = register b +
register c, which is generally what the programmer wants when he write a = b
+ c;
.
- Follow-Ups:
- Re: Yet Another Spinoza Challenge
- From: spinoza1111
- Re: Yet Another Spinoza Challenge
- References:
- Yet Another Spinoza Challenge
- From: spinoza1111
- Re: Yet Another Spinoza Challenge
- From: Richard Heathfield
- Re: Yet Another Spinoza Challenge
- From: spinoza1111
- Re: Yet Another Spinoza Challenge
- From: io_x
- Re: Yet Another Spinoza Challenge
- From: Kenneth Brody
- Re: Yet Another Spinoza Challenge
- From: spinoza1111
- Yet Another Spinoza Challenge
- Prev by Date: Re: Double Colon in Linked List Access
- Next by Date: Re: Yet Another Spinoza Challenge
- Previous by thread: Re: Yet Another Spinoza Challenge
- Next by thread: Re: Yet Another Spinoza Challenge
- Index(es):
Relevant Pages
|
Loading