3 ms·
I may as well throw my hat into the ring: https://github.com/lelanthran/libds https://github.com/lelanthran/libds I decided that I wanted to be able to simply
by lelanthran 5y ago
I may as well throw my hat into the ring: https://github.com/lelanthran/libds https://github.com/lelanthran/libds
I decided that I wanted to be able to simply drop a single .h file and a single .c file into any project without have to build a `libBlah.so` and link it to every project that needed (for example) a hashmap.
The practical result is that using the hashmap only requires me to copy the header and source files into the calling project.
It does build as a standalone library too, so you can link it if you want.
My primary reason for starting this is that I was pretty unsatisfied with all of the string libraries for C. When all I want to do is concatenate multiple strings together, I don't want to have to convert between `char *` and `struct stringtype *` everywhere.
The string functions are very useful as they all operate on the standard `char *` (nul-terminated) type.