Page 5 of 5

Posted: Fri Dec 11, 2009 2:26 pm
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

Posted: Fri Dec 11, 2009 7:59 pm
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.

Posted: Sat Dec 12, 2009 4:04 am
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...

Posted: Sat Dec 12, 2009 11:57 am
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 ?

Posted: Sat Dec 12, 2009 1:41 pm
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.

Posted: Sat Dec 12, 2009 2:18 pm
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.

Eclipse

Posted: Mon Jan 18, 2010 4:07 am
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.

is this a joke?

Posted: Mon Jan 18, 2010 1:55 pm
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?

Posted: Wed Jan 20, 2010 2:00 am
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)

Posted: Mon Jan 25, 2010 9:57 pm
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)?

Posted: Tue Jan 26, 2010 6:52 am
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).