I know there are similar posts, but I feel like my questions are specific enough to still ask them. Let's say I opt to build an executable by putting actual definitions in header files, and then just including them all in a single cpp file.
If I understand correctly, the implications of that only affect the build process, i.e. compilation and linkage, and have no impact on runtime performance. Is it true?
Moreover, compilation times should be higher, while linking times should be lower. Shouldn't that even it out? And if it doesn't, are increased compilation times truly the only reason nobody builds an application like that?