17 points · by adbge · 15y ago · 9 comments
I hardly ever read other people's code, but I'd like to start dedicating a few hours each week to studying idiomatic C. The ultimate goal is to improve my own code.
What are some codebases that are worth studying? Bonus points for open-source projects that are looking for new contributors.
http://pdos.csail.mit.edu/6.828/2011/xv6/xv6-rev6.pdf
Also the low-level GLib core library is good:
- https://github.com/visionmedia/luna - https://github.com/visionmedia/libcss
I believe one of the examples they gave in C was the diff algorithm from Subversion.
* Varnish