Re:Single_file_libs: List of single-file C/C++ libraries
by snazz on Monday October 26, 2020 @11:53AM
(#24897502)
This is just a natural consequence of programming becoming more accessible, I think. And let's not pretend that C and C++ package management is "good but misunderstood"—it needs a lot of work.
Re:Single_file_libs: List of single-file C/C++ libraries
by pjmlp on Monday October 26, 2020 @12:44PM
(#24898143)
Yeah, work like reading a book.
Re:Single_file_libs: List of single-file C/C++ libraries
by snazz on Monday October 26, 2020 @02:13PM
(#24899191)
You can understand how C/C++ builds and dependencies work by reading a book, yes. But you can still criticize it—there's lots of stuff there to criticize! Modern languages have shown that dependency management and builds can be easier, faster, more secure, and more portable.
Re:Single_file_libs: List of single-file C/C++ libraries
by pjmlp on Monday October 26, 2020 @02:40PM
(#24899573)
Which is why Conan and vcpkg do exist, and for quite long time OS package managers and installers.
Re:Single_file_libs: List of single-file C/C++ libraries
by raphaelj on Monday October 26, 2020 @05:55PM
(#24901962)
This does not have anything to do with knowledge. C/C++ build systems are archaic if not broken.
I literally wrote a compiler but still spend 15/20% of my development time trying to find the right not user-friendly CMake syntax, understanding while my Conan dependency broke overnight, or writing header files that could be automatically generated by the compiler (à la GHC).
Re:Single_file_libs: List of single-file C/C++ libraries
by pjmlp on Tuesday October 27, 2020 @01:38AM
(#24904731)
To me that experience sums up pretty well, apparently you were learning on how to use cmake.
As for the headers, C++20 modules, or just use an IDE like Visual Studio and the respective wizards.
Maybe we should a couple of You Tube videos about linkers and stuff.