3 ms·
I mean, I know that for a small "hello world", you'll get an executable much larger than the source code. But with a decent-sized program, full of header files
by crazygringo 6y ago
I mean, I know that for a small "hello world", you'll get an executable much larger than the source code.
But with a decent-sized program, full of header files and comments and config files and descriptive variable names and all the rest, there quickly comes a point where the executable is vastly smaller, no?
I really can't believe that the C/C++ source code for Windows (or Word or Photoshop or whatever) winds up compiling to a larger file size, can it?
- flqn 6y agoIt really depends. Small amount of source code doesn't necessarily mean a small binary if you have a ton of template instantiations.