Wednesday, 06 July 2011
Writing a C library, intro, conclusion and errata
This is a series of blog-posts about best practices for writing C libraries. See below for each part and the topics covered.
Table of contents
The entire series about best practices for writing C libraries covered 15 topics and was written over five parts posted over the course of approximately one week.
- Part one
- Base libraries
- Library initialization and shutdown
- Memory management
- Multiple threads and processes
- Part two
- Event handling and the main loop
- Synchronous and asynchronous I/O
- Modularity and namespaces
- Part three
- Error handling
- Encapsulation and OO design
- Part four
- Helpers and daemons
- Testing
- Part five
- API design
- Documentation
- Language bindings
- ABI, API and versioning
- [...]
An interesting series of articles on the nuances of writing a C library. There's a whole section of topics that are not discussed in detail but they too have some very interesting links and thoughts. Definitely a good and worthy read.
URL: http://davidz25.blogspot.com/2011/07/writing-c-library-intro-conclusion-and.html