Skip to main content
gamedev.net
🔒 Locked

About Visual Studio 2010...

Started by kimryo Sep 30, 2010 at 11:07 PM 6 replies 1.4k views
Original Post
kimryo
kimryo
I updated my development environment to Visual Studio 2010 recently, upgraded existing Visual Studio 2008 projects and compile and link, the same output exe file be about 2 times larger than VS2008 do, what's the difference between 2010 and 2008 on creating exe file?

Thanks in advance.
God create the world,we create another one.-Reference
farzher
farzher
Are you in debug mode? Switch to release.
kimryo
kimryo
Thanks for your reply.
Of course I mean both in release mode.
God create the world,we create another one.-Reference
cignox1
cignox1
And are you compiling against the same runtime libraries (both statically or both dinamically linked?)
kimryo
kimryo
Yes, the project is completely same thing, just upgrade them from VS2008 and compile, link. Maybe the libraries(CRT, MFC etc) provided by VS2010 are sort of quite different compare to VS2008's?

Thanks.
God create the world,we create another one.-Reference
21st Century Moose
21st Century Moose
Different libraries with more code in them - better error checking (and recovery), some stuff that may have been dynamically linked might have gone to statically linked (although it's normally the other direction), nothing dramatic and definitely no need to be concerned.

To be honest I gave up worrying about executable sizes maybe 10 years ago; it seems kinda silly in this day and age (especially when you factor in dynamic linking) and has absolutely no bearing whatsoever on anything to do with the quality of the final program.
Direct3D has need of instancing, but we do not. We have plenty of glVertexAttrib calls. 
frob
frob
How much bigger is 2X bigger?

Jumping from 100KB to 200KB is nothing. Jumping from 12MB to 24MB would be a very different concern.
kimryo
kimryo
Quote:
Original post by frob
How much bigger is 2X bigger?

Jumping from 100KB to 200KB is nothing. Jumping from 12MB to 24MB would be a very different concern.


Em, it's about 1.1MB grown to 2.2MB.
God create the world,we create another one.-Reference

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.