News for hackers. Stuff that matters.
Re:Pitchforks: A (de facto) Standard Project Layout for C / ... by AlbertoGP on Friday March 10, 2023 @12:54PM (#35098186)
The most interesting part for me is the specification from data/spec.bs, whose rendered version is linked from the repository README.md, section “1.3. Project Directories”:

https://api.csswg.org/bikeshed/?force=1&url=https://raw.gith...

I’ve been using “libs/” for external libraries, but after reading this I’m considering “external/” for that purpose.

Re:Pitchforks: A (de facto) Standard Project Layout for C / ... by AlbertoGP on Saturday March 11, 2023 @05:06AM (#35106997)
Looking more into this, I found this document with details about the popularity of different alternative directory names: “Project Layout - Survey Results and Updates” https://vector-of-bool.github.io/2018/09/16/layout-survey.ht...

There is also a separate proposal from around the same time, dated one month later and very focused on C++ which I find less useful for C: “Canonical Project Structure” https://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p1204r0...