Hi fellow C programmers,
I’ve created my own C library. So far, it supports:
- Dynamic arrays
- Strings
- Some utility functions built on top of these implementations
I’d love to get some feedback on it: what could be improved, what might be wrong, any guidance on best practices, and what you think of my file structure. Also, are there any popular C standard libraries you’d recommend studying? (I’ve taken some inspiration from glibc so far.)
You can check out the library here: c_library
Next on my roadmap are:
- A custom memory allocator
- Linked lists
- Hashmaps
I might also rewrite the array and string modules to fully support my own memory allocator.
Any advice or constructive criticism would be greatly appreciated!
[link] [comments]


![The Gang Republic: Inside Haiti’s New Order (2026) - ~3 million people living in the grips of all-out gang war. France24 spent a fortnight filming in and around the Haitian capital, speaking to a population held hostage by this drawn-out crisis (CC) [00:52:38]](https://external-preview.redd.it/0j1B98qWy2MAsjLEwjT10EbknBToMVuWRJ-tUeZsTso.jpeg?width=320&crop=smart&auto=webp&s=041d55dee546ef807e7eda2e0d1d013111f02a25)


English (US) ·