- Oct 22, 1999
- 15,613
- 11,256
- 136
I just wrote a ~100 line program (Source is about 2K (including a my personal header file). I compiled this program first with Mingw, and it was a total of 3.8KB. I then tried it with MS VC++ 4.0 and it came out 110KB (along with 500KB of crap files). After seeing this I decided to compile it with MS VC++ 6.0, the program came to a grand total of 180KB (along with 800KB of other files).
This made me wonder, so I recompiled a file that I wrote in VC++ 4.0 about a year ago. This program has ~1200 lines (give or take 100). With VC++ 4.0 it was 200KB (I didn't think that was to bad at the time). After my last test I decided to try this on the other two. VC++ 6.0's version was a HUGE 350KB. Mingw's version, though, was only 21KB!!!
Conclusion: All MS programs will be HUGE until they learn how to write a good compiler. What sucks in all of this, is I like VC++ 4.0's Editor the best, but I will not be able to stand knowing my files could be 10% the size using Mingw with Dev-C++.
This made me wonder, so I recompiled a file that I wrote in VC++ 4.0 about a year ago. This program has ~1200 lines (give or take 100). With VC++ 4.0 it was 200KB (I didn't think that was to bad at the time). After my last test I decided to try this on the other two. VC++ 6.0's version was a HUGE 350KB. Mingw's version, though, was only 21KB!!!
Conclusion: All MS programs will be HUGE until they learn how to write a good compiler. What sucks in all of this, is I like VC++ 4.0's Editor the best, but I will not be able to stand knowing my files could be 10% the size using Mingw with Dev-C++.
