News for hackers. Stuff that matters.
Re:Single_file_libs: List of single-file C/C++ libraries by jasode on Monday October 26, 2020 @10:03AM (#24896245)
>Am I the only one to see this single-file lib trend as a consequence of the failure of the C++ ecosystem to produce a modern and unified package management platform?

One counterpoint to your proposed cause & effect is that some observers think Javascript NPM's packaging convenience enables the explosion of single file dependencies. Example discussion:

https://news.ycombinator.com/item?id=11348798

Re:Single_file_libs: List of single-file C/C++ libraries by klodolph on Monday October 26, 2020 @12:14PM (#24897744)
What’s happening in the JavaScript ecosystem is dependencies are so easy that you’re getting a lot of small libraries, and they’re one file because they’re small.

What’s happening in C++ is that you’re getting one-file libraries that are not small, because developers will shoehorn their library into a single file rather rather than deal with a way of managing C++ library dependencies.

You might find in C++, for example, a header file with over 10k lines in it and a bunch of preprocessor conditionals. What you might find in JavaScript is a library that contains one or two functions.