did you know: in C, /calculating an address/ can be undefined behavior e.g. { int x[4]; &x[5] } // nasal demons here
-
-
Replying to @whitequark
@whitequark There's a good reason for this: it's not possible to define the result consistently; diff ways of eval'ing can give diff results1 reply 0 retweets 0 likes -
-
Replying to @whitequark
@whitequark This would just constrain the impl in ways that are not useful to the programmer. Even if it were def'd, use would be dangerous.1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker what specific drawbacks would imp-def'ing pointer arith to 2's complement have?1 reply 0 retweets 0 likes
Replying to @whitequark
@whitequark That doesn't even make conceptual sense. Pointers are not signed integers so how is "2s complement" involved at all?
5:00 PM - 3 Nov 2015
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.