News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.