Hacker News new | ask | show | jobs
by alcover 1496 days ago
There's the Clib initiative at https://github.com/clibs. I don't know how much they curate/review their entries.

As often said, apt install foo is also a bit of a package manager for C.

Maybe we should establish a sort of expert-led central archive of rock-solid, battle-tested C libs/functions/snippets that one can trust ?

1 comments

    Maybe we should establish a sort of expert-led central archive of rock-solid, battle-tested C libs/functions/snippets that one can trust ?
GNUlib [1], albeit marketed as a "portability library", in fact shares a lot of that goal and includes data structure implementation, OS interfaces, etc. A couple of excerpts from the docs:

* "Gnulib is intended to be the canonical source for most of the important “portability” and/or common files for GNU projects. These are files intended to be shared at the source level" [3]

* "We develop and maintain a testsuite for Gnulib. The goal is to have a 100% firm interface so that maintainers can feel free to update to the code in git at any time and know that their application will not break." [3]

[1]: https://www.gnu.org/software/gnulib/manual/html_node/index.h...

[2]: https://www.gnu.org/software/gnulib/manual/html_node/Gnulib-...

[3]: https://www.gnu.org/software/gnulib/manual/html_node/High-Qu...

Well.. that'll do it ! I wonder how I never stumbled upon that massive trove.