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

I'm partial to https://github.com/antirez/sds these days



The only problem I have with antirez's lib is that he didn't make it into a single header library.


Is it so hard to add a single source file to your build system?

If yes, then you can do #include “sds.c“ in some random source file. In fact, that's what so-called header-only libraries in C implicitly do. shudder


A C file implies a compilation unit. For the projects I write I like to have a single compilation unit per binary (what's called a unity build). In the case of C, this doesn't bring much speed to the table, but it allows for a simpler build toolchain none the less.




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

Search: