Why so many people use MSVC?

Discussion about everything. New games, 3d math, development tips...
zet.dp.ua
Posts: 66
Joined: Sat Jul 07, 2007 8:10 am

Post by zet.dp.ua »

If your target platform is Windows then you have to use MSVS :).
VC's compiler can greately optimize code. If you have normal (std, pro, ...) version then in conjunction with VA it is the most powerfull C++, C# IDE for Windows platform.
BTW, i have used vs 2005 std + VA some time ago, but now i'm using vc2008 express and plugins like VA are unsupported. I wrote a small clipboard ring tool to compensate lack of one VA feature. Maybe you also find it usefull: http://www.multiupload.com/U3GVLXD3EC
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Hmm ... optimizing of VC might be good, but from performance tests in the company I work I know that at least the current version of MinGW64 (http://sourceforge.net/projects/mingw-w64/) optimizes better than VC.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

That is a very VERY vague statement. Optimizing of what exactly?
Size? Speed? Paging? Stability? What options were used in either compiler? On a x86 or x64 platform? Recent or old? Which Windows? Did you use the same core library (STL for example, I know VC can swap it, MinGW64 most likely can to). etc. Seriously, this would be such a huge comparison to make, you'll need to precise a lot...
kaos
Posts: 155
Joined: Tue Aug 12, 2008 8:25 pm
Location: Spain

Post by kaos »

Sylence wrote:
kaos wrote:The problem of express edition(I think) is that you need the runtime library for execute programs of express edition(blender is a example). I prefer mingw.
Only by default. You can change this in the project settings and link everything static. This is why mingw binaries are (by default) bigger than msvc binaries. The mingw ones have the runtime linked static while the mscv ones link them dynamic.
I try many times but I don't know how.

I link MSVCRT.LIB,LIBCMT.LIB,LIBC.LIB and nothing.

pd: do you have a link where I can read how to make this ?
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

@Dorth: Ok, ok ... I didn't do the test myself, just one colleague of mine who is one of the developers of MinGW64. He was talking about speed. One feature that MinGW supports, VC doesn't and that we need in the company I work for is Objective-C support.

@kaos: that's right. I never got it running, so after trying for two or three days I switched back to gcc. Even if it's possible to get the programs running on other computers it still sucks. Gcc programs run without any problems on any computer I tried.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
alexionne
Posts: 55
Joined: Fri Jun 22, 2007 9:55 am
Location: Novi Sad, Serbia

Post by alexionne »

zet.dp.ua wrote:If you have normal (std, pro, ...) version then in conjunction with VA it is the most powerfull C++, C# IDE for Windows platform.
I also thought that, but after trying (and using) Eclipse for some time, I changed my opinion :-) When I work in Eclipse (either Java or C++), I feel like I fly around through my code. Yes, VisualAssist is great, but Eclipse's integrated navigation and refactoring tools are far better than VA. One could say that Eclipse is slow (because it's written in Java), but VS can also be slow when you work on large project - no-one wins on that field.
cleversight
Posts: 4
Joined: Mon Jan 18, 2010 3:04 am

Eclipse

Post by cleversight »

I use Eclipse for all my programming needs; i'm on Ubuntu Karmic... with just a CTRL-B, i compile my project without anything else.
Goes quick and it has cool autocompletion, svn, etc... and it's Cross-Os

I'm working on a irrLicht-wxWidgets-openCv project... imagine, too many different sdk--- but no problem at all.
Ulf
Posts: 281
Joined: Mon Jun 15, 2009 8:53 am
Location: Australia

is this a joke?

Post by Ulf »

Repgahroll wrote:I'm not a 'big' pro, but i program very well, i never had any big issue debugging my programs, 99% of my "errors" are fixed quickly and easily......
I never programmed nothing very complex though, the most complex thing was a 100k lines data base system.
wtf? 100k lines of code is a small project for you?
You must be good. No wonder you don't get any bugs huh?

Do you mean 100k lines of SQL insert statements?

The 2D game engine I'm working on is less than 20k lines at the moment and I think that is getting large.

Doesn't irrlicht have 100-200k lines of code?
Man! I can't build Qt!
But you can't do that?
I can hear birds chirping
:twisted:

I live in the Eye of Insanity.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

Qt on Win, the latest editions, have a trick to build properly. You must delete every temp folders inside the installed Qt, as they are for linux and will sometime cause compilation or worst, runtime issue on windows. It's a very low shot not obvious if you try to use msvc, so be on the look-out for this (doesn't apply to the compiler that comes with the sdk, it rebuilds properly those folders)
zet.dp.ua
Posts: 66
Joined: Sat Jul 07, 2007 8:10 am

Post by zet.dp.ua »

i have successfully compiled the latest qt with msvc (but without webkit and phonon libs).
one point to use msvc is its debugger, that can expand your custom data types like core::array, core::map...
does anybody know how to do it in eclipse(gdb)?
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Well ... expanding custom data types is sometimes a pain in the a'+ with the gdb. It also doesn't work that good in expanding Objective-C classes (standard classes, e.g. NSString). For my personal use gdb is OK, but here at work I wish we had a better debugger, X-Code for example (we can't use VC because our software is based on Objective-C).
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply