Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2005

Tip: Looking for answers? Try searching our database.

Performance difference.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
objectref - 16 Nov 2005 10:43 GMT
Hi to all folks here,

can anyone give me an estimate of the difference in performance between the
new versions
of C# and C++ 2005 (for .net of course) ?

I am a C# programmer and i am very curious to know if there is really a
(noticable) difference between these two
when compiling to IL.
Microsoft says that the new Visual C++  "has new optimization technology
that has improved the speed of Microsoft products up to 30 percent".
Do they refer to unmanged code, managed code or both ?

Thanks a lot for any help,

objectref
Carl Daniel [VC++ MVP] - 16 Nov 2005 15:08 GMT
> Hi to all folks here,
>
[quoted text clipped - 8 lines]
> technology that has improved the speed of Microsoft products up to 30
> percent". Do they refer to unmanged code, managed code or both ?

I don't have any figures for C# - I would expect any performance gains there
to be from CLR/JIT improvements and thus carry across all .NET languages.

The C++ optimization feature alluded to in the 30% figure is PGO:  Profile
Guided Optimization, and it's only available for native code.  Sun's HotSpot
JVMs do very similar kinds of optimization for Java, so it's not unlikely
that a future version of the CLR could include PGO-like technology in the
JIT compiler.

For more on PGO  see

http://msdn2.microsoft.com/en-us/library/e7k32f4k

-cd

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.