News for hackers. Stuff that matters.
Re:What do you want to see in Learn C The Hard Way? by Tichy on Friday November 05, 2010 @01:00PM (#1873924)
I understood K&R years ago, but somehow I feel completely inadequate to being a C programmer. I think there is some kind of black art involved in memory management. I checked recently and it seems K&R doesn't even talk much about memory management.

I just wish to learn the current state of the art - what are best practices that have evolved since K&R?

Re:What do you want to see in Learn C The Hard Way? by silentbicycle on Friday November 05, 2010 @04:45PM (#1874847)
There's a chapter on memory management* in Hanson's _C Interfaces and Implementations_ (http://sites.google.com/site/cinterfacesimplementations/), which is one of the better advanced C books I've read.

* Mostly, arena-based allocators.

Paul Wilson's "Uniprocessor Garbage Collection Techniques" (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.2...) is an excellent overview, as is Jones and Lins's _Garbage Collection: Algorithms for Automatic Dynamic Memory Management_.

Re:What do you want to see in Learn C The Hard Way? by mahmud on Friday November 05, 2010 @06:35PM (#1875186)
Interested parties can also look into "Memory as a Programming Concept in C and C++".
Re:What do you want to see in Learn C The Hard Way? by alnayyir on Friday November 05, 2010 @01:03PM (#1873933)
That feeling of inadequacy and incompleteness post-K&R is something I experienced too and is something I'm hoping to address.