
Review of My C Library
Hi fellow C programmers,
I’ve been building my own C library as a way to go deeper into systems programming, API design, memory ownership, and testing.
The library has grown quite a bit, and currently includes:
* Dynamic string (`d_dyn_string`)
* String views (`d_string_view`)
* Dynamic arrays (`d_dyn_array`)
* Stack (`d_stack`)
* Queue (`d_queue`)
* Deque (`d_de_queue`)
* Unordered map (`d_unordered_map`)
* Hash set (`d_hash_set`)
I’d really love feedback from experienced C programmers:
* API design: anything that feels awkward or unsafe?
* File/project structure: does it scale well?
* Ownership semantics: anything unclear or non-idiomatic?
* What mature C libraries would you recommend studying?
Repository:
Any brutally honest feedback is welcome :)