Hacker News new | past | comments | ask | show | jobs | submit login

Linux developer Rusty Russell wrote a helpful article about designing C libraries to be easily configured and reused:

"On C Library Implementation": http://rusty.ozlabs.org/?p=140

For such an important subject, there is little practical discussion or good examples of library design. Compare the number of books about C++ object-oriented design versus the design and packaging of C/C++ libraries.

The best reference I know is John Lakos's excellent (but ancient: 1996!) book on the subject: "Large-Scale C++ Design." Here are some excerpts from the book.

http://blog.codeimproved.net/2009/03/the-large-scale-c-softw...

http://www.cs.unc.edu/~stotts/COMP204/lakos/




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: