Quote:
Explain why it's better handled? /MP was created for that reason.
There is a not so subtle difference between /MP compiler switch and parallel make. According to MSDN:
Quote:
The /MP compiler option can significantly reduce build time when you compile many files. To improve build time, the compiler creates up to processMax copies of itself, and then uses those copies to compile your source files at the same time. The /MP option applies to compilations, but not to linking or link-time code generation. By default the /MP option is off.
Also, if you use a different compiler than the one that comes with MSVC, it does not help.... I would have rathered they tweaked nmake (I think that is MSVC make utility) to do parallel builds and us nmake to build.
the major stinker with /MP is:
Quote:
The following table lists compiler options and language features that are incompatible with the /MP option:
(snip)
/Yc Writes a precompiled header file.
so if the wrong headers get modified and you use precompiled headers, there can be some headaches.
Quote:
Sorry, but are you sure you know what you're talking about here? From what I understand, MS's STL is basically Dinkumware's, at this point. Microsoft has made a few stupid mods for "extra safety" which can be disabled.
I was not clear: the addition of TR1 to their STL is nice, but there are other STL's one can use which already have TR1 (and even at that if you use boost, most of what you want in TR1 is in boost anyways), secondly, the STL of MSVC is not very good (it is great that is is integrated with the debugger though, also the mods they adder were like when comparing iterators make sure they come from the same container, which is useful in debugging as well), even in release builds it can leave a very, very bad taste in one's mouth. MS has come a long way since VC6, but there are better STL's to use. The point being that if one is upgrading just for TR1, then a potentially better solution is to use a different STL.
Quote:
I agree that MFC is a poor choice for GUIs at this point. STL and Boost obviously can't completely replace MFC, since MFC is mostly "designed" (using that term loosely) for GUI tasks. I've used Qt instead of MFC for GUI tasks with a lot of success.
My _personal_ opinion is that the faster one gets away from MFC, the better. Porting a project that uses MFC off of Windows is a huge job... there are a LOT of GUI libraries out there (you mention Qt, and there is also GTK+, and a variety of very light weight ones such as FLTK)... but if you are on a project which is Windows only, then it is kind of ok to use MFC, but every now and then I hear rumor noises that MS wants to end MFC.... also one reason one may wish to upgrade is a newer version of ATL, but that really is Windows only goop.
oh well, my 2 cents.