News for hackers. Stuff that matters.
Re:Speeding up C++ build times by forrestthewoods on Sunday April 28, 2024 @09:37PM (#40193511)
I'm starting to believe that one static/shared library should be produced by compiling exactly one cpp file. Go ahead and logically break your code into as many cpp files as you want. But there should then be a single cpp file that includes all other cpp files.

The whole C++ build model is terrible and broken. Everyone knows n^2 algorithms are bad and yet here we are.

Re:Speeding up C++ build times by sfpotter on Sunday April 28, 2024 @09:50PM (#40193584)
Everyone: "O(n^2) algorithms are bad."

Also everyone: "Just do the stupidest thing in the shortest amount of time possible. We'll fix it later."