News for hackers. Stuff that matters.
Re:Deconstructing "K&R C" by tptacek on Wednesday January 11, 2012 @10:04AM (#3452012)
Worth pointing out again: the size of the chunk allocated for a particular data structure does not give you the precise bounds of the data structure; odds are, the chunk is slightly larger than the structure.
Re:Deconstructing "K&R C" by scott_s on Wednesday January 11, 2012 @11:06AM (#3452265)
I wrote a response explaining why, if you know x then you must know y, but then I realized you were talking about knowing y and learning x. Yes, I agree. I'm not sure which context (knowing the actual size of the memory chunk, which is easy, or knowing the used size of the memory chunk, which is not easy) Zed was talking about.