473,385 Members | 1,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Optimization of framework SDK vs. VS 2005

Greetings,

I have a question. The framework SDK ships with a CS/VB.NET compiler. Does
the Visual Studio 2005 IDE use these compilers or does the IDE have its own?
This has me thinking. Becuase the Express IDE supposedly doesn't optimize
the compiled output as much as the professional IDE does. If that's so,
then it sounds like their are two different compilers happening here. In
short, if I want to establish a build server (that does not have the IDE
installed only the Framework SDK) then will I get the same optimizations as
when we build from the IDE?
Thanks,
Shawn
Jan 24 '07 #1
7 1428
The compilers should be the same, but it could be the versions of the
IDE are sending different command line parameters to the csc.exe or
vbc.exe programs.

On Jan 24, 1:39 pm, "Shawn B." <lea...@html.comwrote:
Greetings,

I have a question. The framework SDK ships with a CS/VB.NET compiler. Does
the Visual Studio 2005 IDE use these compilers or does the IDE have its own?
This has me thinking. Becuase the Express IDE supposedly doesn't optimize
the compiled output as much as the professional IDE does. If that's so,
then it sounds like their are two different compilers happening here. In
short, if I want to establish a build server (that does not have the IDE
installed only the Framework SDK) then will I get the same optimizations as
when we build from the IDE?

Thanks,
Shawn
Jan 24 '07 #2
Shawn B. wrote:
I have a question. The framework SDK ships with a CS/VB.NET compiler. Does
the Visual Studio 2005 IDE use these compilers or does the IDE have its own?
This has me thinking. Becuase the Express IDE supposedly doesn't optimize
the compiled output as much as the professional IDE does.
This isn't true. 'csc -optimize+' is about the full extent of
optimization afforded by csc, and is used by the IDE.

Almost all optimization occurs at runtime.
If that's so,
then it sounds like their are two different compilers happening here. In
short, if I want to establish a build server (that does not have the IDE
installed only the Framework SDK) then will I get the same optimizations as
when we build from the IDE?
To just do a build, often only the .NET framework is needed - not even
SDK - depending on what you use. MSBuild, csc, etc. are all part of the
framework, not SDK.

-- Barry

--
http://barrkel.blogspot.com/
Jan 25 '07 #3
This isn't true. 'csc -optimize+' is about the full extent of
optimization afforded by csc, and is used by the IDE.
Then why do they talk about the "Pro" version producing better optimized
code than the Express edition?
Thanks,
Shawn
Jan 26 '07 #4
"Shawn B." <le****@html.comwrote in message news:ud**************@TK2MSFTNGP02.phx.gbl...
>This isn't true. 'csc -optimize+' is about the full extent of
optimization afforded by csc, and is used by the IDE.

Then why do they talk about the "Pro" version producing better optimized code than the
Express edition?
Where did you read this? There is only one csc compiler (cscomp.dll and the compiler driver
csc.exe), and he's part of the Framework not part of VS.

Willy.

Jan 26 '07 #5
>>This isn't true. 'csc -optimize+' is about the full extent of
>>optimization afforded by csc, and is used by the IDE.

Then why do they talk about the "Pro" version producing better optimized
code than the Express edition?

Where did you read this? There is only one csc compiler (cscomp.dll and
the compiler driver csc.exe), and he's part of the Framework not part of
VS.
Okay, you're right. I was confusing C# with the Visual C++ and CLI compiler
where *that* compiler does more optimizations with Pro than Express.

Thanks,
Shawn
Jan 26 '07 #6
Shawn B. wrote:
>This isn't true. 'csc -optimize+' is about the full extent of
optimization afforded by csc, and is used by the IDE.

Then why do they talk about the "Pro" version producing better optimized
code than the Express edition?
Where did you read this? There is only one csc compiler (cscomp.dll and
the compiler driver csc.exe), and he's part of the Framework not part of
VS.

Okay, you're right. I was confusing C# with the Visual C++ and CLI compiler
where *that* compiler does more optimizations with Pro than Express.
This mostly isn't true any more, BTW. There is no longer any (major)
difference between the C++ compilers:

http://msdn.microsoft.com/vstudio/express/support/faq/

"40. Does Visual C++ 2005 Express include the "optimizing compiler"?

Yes, Visual C++ 2005 Express Edition includes the same core optimizing
compiler that will be included with all other Visual Studio 2005
editions. Some new expanded optimization features, including Profile
Guided Optimizations, will be available only in the Professional and
above editions of Visual Studio 2005."

-- Barry

--
http://barrkel.blogspot.com/
Jan 26 '07 #7
This mostly isn't true any more, BTW. There is no longer any (major)
difference between the C++ compilers:

http://msdn.microsoft.com/vstudio/express/support/faq/

"40. Does Visual C++ 2005 Express include the "optimizing compiler"?

Yes, Visual C++ 2005 Express Edition includes the same core optimizing
compiler that will be included with all other Visual Studio 2005
editions. Some new expanded optimization features, including Profile
Guided Optimizations, will be available only in the Professional and
above editions of Visual Studio 2005."
Yes, that is where I got my change of understanding. PGO doesn't apply to
..NET anyway, its *currenty* a purely native implementation as I understand.
Whole program optimization I believe applies to .NET as well. In any case,
my only purposes for using Express IDE's is for XNA, otherwise I license the
Team edition and use it completely.
Thanks,
Shawn
Jan 26 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nick L. | last post by:
All, This is a general question regarding how, and if, compiler optimization techniques affect the general concept of being able to update a component of an application without requiring a...
14
by: joshc | last post by:
I'm writing some C to be used in an embedded environment and the code needs to be optimized. I have a question about optimizing compilers in general. I'm using GCC for the workstation and Diab...
22
by: NigelW | last post by:
This is really a question for the development team. Are there plans to improve the optimization of C# to MSIL? I ask this, as inspection with ILDASM of the MSIL code shows that, even with the...
3
by: Dmitry Jouravlev | last post by:
Hi, I have a number of C++ solutions in Visual Studio .NET and when i compile them using "Whole Program Optimization", certain projects report a LNK1171 error saying that c2.dll could not be...
3
by: Peter Olcott | last post by:
What can anyone: (1) Tell Me about (2) Provide Links to (3) Recommend Books Pertaining to Memory Performance Optimization? The main thing that I am looking for is rules-of-thumb that maximize...
3
by: Thom Little | last post by:
I have ASP.NET websites deployed on a number of servers. Thee were developed with Visual Studio 2003. Is it true that Visual Studio 2005 only supports .NET Framework 2.0 and I will be required...
11
by: xenophon | last post by:
I have a web site with forms authentication and a single logon page. I have 4 subdirectories, each that should be protected by a different username/password combination. For testing purposes, the...
3
by: Ted Ngo | last post by:
Hi All, My company want to buy the new Microsoft Visual Studio 2005 for their employees to develop our web application. After we develop the web application using the new Microsoft Visual...
0
by: Adam Sandler | last post by:
Hello, Using VWD 2005 here... I've noticed I've got .NET services on my system here: the .NET Runtime Optimization service and ASP.NET State service. I've noticed when the ASP.NET State service...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.