super quick post "Do Expressive Programming Languages Always Have Undefined Behavior?" https://blog.regehr.org/archives/1476 also see Betteridge's law
-
-
Replying to @johnregehr
I remember seeing that comment a few weeks ago and sort-of laughed it off. Nice rebuttal explanation, though.
1 reply 0 retweets 0 likes -
Replying to @int10h @johnregehr
In addition to a rebuttal, a clear explanation of why C specifically has to have UB would be nice for newbies.
2 replies 0 retweets 1 like -
It's mainly RoT, %p, and perhaps some things about newly allocated memory lacking effective type.
1 reply 0 retweets 0 likes -
Replying to @RichFelker @johnregehr
%p isn't UB though, it's just implementation-defined. also what's RoT
1 reply 0 retweets 0 likes -
Replying to @int10h @johnregehr
%p is equivalent to RoT because you can printf-modify-scanf pointers.
2 replies 0 retweets 0 likes
And RoT is 6.2.6.
6:11 PM - 6 Mar 2017
0 replies
0 retweets
0 likes
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.