VS2008 thanks everyone
-
Thank you everyone for giving me info to weigh upgrading to vs2008. I finally decided to go for it after checking out the asp.net development changes, the split screen thing in particular is pretty handy and it does load control heavy pages much faster and more accurately than before. Aside from that, since I'm not targetting .net 3.5 for anything and have no plans to do so in future I see it as more of a minor upgrade than anything else, hopefully the intellisense will be a little more reliable, they never seem to be able to get that right for many years now. Two things that mystify me about it still: Why don't they have multicore / multithreaded builds for managed code projects since they're pushing for it and all the info required to do it is in the solution already (dependencies etc)? And why in the world are web deployment projects still delivered in the form of a separate add-on when clearly there are a *lot* of people using them?
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
They added multithreaded builds to MSBuild 3.5, but VS08 isn't using that feature. Actually, it's pretty unusable because you loose a lot of options with the multithreaded build feature. I ended up writing my own version[^] of it for SharpDevelop. And yes, going multithreaded is a 30% to 40% speedup for managed projects on a dual core machine - assuming you have enough RAM to cache your projects, the additional core doesn't help if you're waiting for the disk.
-
They added multithreaded builds to MSBuild 3.5, but VS08 isn't using that feature. Actually, it's pretty unusable because you loose a lot of options with the multithreaded build feature. I ended up writing my own version[^] of it for SharpDevelop. And yes, going multithreaded is a 30% to 40% speedup for managed projects on a dual core machine - assuming you have enough RAM to cache your projects, the additional core doesn't help if you're waiting for the disk.
-
John C wrote:
Why don't they have multicore / multithreaded builds for managed code projects
Aren't ALL managed projects multithreaded? I believe so... :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
Mark Salsbery wrote:
Aren't ALL managed projects multithreaded?
Yes, under Tools->Option there's the ability to tell VS how many parallel build processes one can have it run.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Mark Salsbery wrote:
Aren't ALL managed projects multithreaded?
Yes, under Tools->Option there's the ability to tell VS how many parallel build processes one can have it run.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
:doh: LOL I was thinking of the built projects, not the build process. On that note, I don't know HOW people use VS on a single processor machine :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
:doh: LOL I was thinking of the built projects, not the build process. On that note, I don't know HOW people use VS on a single processor machine :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
Mark Salsbery wrote:
I don't know HOW people use VS on a single processor machine
It bites. I have built VS2008 projects on my 2.5ghz P4 with 1gig of ram, it is slow enough for me to instead build on my dual core laptop running at 1.6ghz with 1.5gig of ram. The difference is quite noticeable :-\
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Mark Salsbery wrote:
I don't know HOW people use VS on a single processor machine
It bites. I have built VS2008 projects on my 2.5ghz P4 with 1gig of ram, it is slow enough for me to instead build on my dual core laptop running at 1.6ghz with 1.5gig of ram. The difference is quite noticeable :-\
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
if your laptop is a core2 it's single cores are each faster than the p4's. I'm not sure if core1 chips have quite that large a per clock performance edge over the p4 or not.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
-
if your laptop is a core2 it's single cores are each faster than the p4's. I'm not sure if core1 chips have quite that large a per clock performance edge over the p4 or not.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
dan neely wrote:
not sure if core1 chips have quite that large a per clock performance edge over the p4
Not entirely sure, either, but it does seem quicker on the Core2. I'm thinking other factors are at play, such as the laptop having memory that is twice as fast, and not as much stuff installed on it running in the back ground. I do have some fairly good sized solutions with multiple projects. I'll have to give it a comparative later.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Thank you everyone for giving me info to weigh upgrading to vs2008. I finally decided to go for it after checking out the asp.net development changes, the split screen thing in particular is pretty handy and it does load control heavy pages much faster and more accurately than before. Aside from that, since I'm not targetting .net 3.5 for anything and have no plans to do so in future I see it as more of a minor upgrade than anything else, hopefully the intellisense will be a little more reliable, they never seem to be able to get that right for many years now. Two things that mystify me about it still: Why don't they have multicore / multithreaded builds for managed code projects since they're pushing for it and all the info required to do it is in the solution already (dependencies etc)? And why in the world are web deployment projects still delivered in the form of a separate add-on when clearly there are a *lot* of people using them?
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
John C wrote:
Why don't they have multicore / multithreaded builds for managed code projects
Is that different from, under "Projects and Solutions", "Build and Run", "maximum number of project builds" ? Mine is set to 2, because it's a dual core system. Marc
-
John C wrote:
Why don't they have multicore / multithreaded builds for managed code projects
Is that different from, under "Projects and Solutions", "Build and Run", "maximum number of project builds" ? Mine is set to 2, because it's a dual core system. Marc
-
Mark Salsbery wrote:
Aren't ALL managed projects multithreaded?
Yes, under Tools->Option there's the ability to tell VS how many parallel build processes one can have it run.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Yes the options there but it's strictly for c++ projects, not for managed ones.
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
Hmmmm, I'm able to use such options for C# projects and VB :suss:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Hmmmm, I'm able to use such options for C# projects and VB :suss:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
No Paul, you're not. Open that screen and hit F1 and read the help info about it. Multicore builds are *not* supported for managed projects by vs2008.
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
-
Yes the options there but it's strictly for c++ projects, not for managed ones.
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
-
No Paul, you're not. Open that screen and hit F1 and read the help info about it. Multicore builds are *not* supported for managed projects by vs2008.
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
Thanks, John. I missed the F1 part :-O Now, why not support multicore builds for managed projects? If it can be done in native C++, surely doing multicore builds in C++.NET, C#, and VB.NET would not be any different.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham