News for hackers. Stuff that matters.
Re:Git's list of banned C functions by spacechild1 on Friday March 05, 2021 @09:06PM (#26364582)
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

Re:Git's list of banned C functions by mariusor on Saturday March 06, 2021 @03:25AM (#26366018)
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.