Who Says C is Simple? (2010)
eecs.berkeley.edu
Who Says C is Simple? (2010)
1–10 of 59 posts
Re: Who Says C is Simple? (2010)
#2Can anybody figure out the year on this one? Internet Archive says 2011 but it seems it might be earlier.
Re: Who Says C is Simple? (2010)
#3Can anybody figure out the year on this one? Internet Archive says 2011 but it seems it might be earlier.
The HTTP headers can put an upper bound on the date:
Last-Modified: Fri, 29 Oct 2010 16:59:15 GMT
And the changelog for CIL suggests that it may be significantly older:Re: Who Says C is Simple? (2010)
#4Can anybody figure out the year on this one? Internet Archive says 2011 but it seems it might be earlier.
This URL http://www.eecs.berkeley.edu/~necula/cil/cil002.html#toc1 mentions cil version 1.3.7. Changelog http://www.eecs.berkeley.edu/~necula/cil/changes.html says 1.3.7 was released on 2009-04-24.
Re: Who Says C is Simple? (2010)
#5The first two invoke UB and are thus completely illogical.
Re: Who Says C is Simple? (2010)
#6The first two invoke UB and are thus completely illogical.
UB? I don't get the first one.
Re: Who Says C is Simple? (2010)
#7who said C is simple? :S
Re: Who Says C is Simple? (2010)
#8Re: Who Says C is Simple? (2010)
#9who said C is simple? :S
It is fairly simply if you understand how the data types and data structures are laid out in memory.
The problems are with the corner cases like he mentions at the beginning of his post.