Related articles |
---|
Compile time of C++ vs C# shirsoft@gmail.com (Shirsoft) (2009-09-01) |
Re: Compile time of C++ vs C# marcov@stack.nl (Marco van de Voort) (2009-09-02) |
Re: Compile time of C++ vs C# DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-09-02) |
Re: Compile time of C++ vs C# cr88192@hotmail.com (BGB / cr88192) (2009-09-02) |
Re: Compile time of C++ vs C# sh006d3592@blueyonder.co.uk (Stephen Horne) (2009-09-03) |
Re: Compile time of C++ vs C# cr88192@hotmail.com (BGB / cr88192) (2009-09-03) |
Re: Compile time of C++ vs C# lefevrol@yahoo.com (Olivier Lefevre) (2009-09-04) |
From: | Marco van de Voort <marcov@stack.nl> |
Newsgroups: | comp.compilers |
Date: | Wed, 2 Sep 2009 09:49:04 +0000 (UTC) |
Organization: | Stack Usenet News Service |
References: | 09-09-009 |
Keywords: | C++, performance |
Posted-Date: | 02 Sep 2009 23:25:09 EDT |
On 2009-09-01, Shirsoft <shirsoft@gmail.com> wrote:
> I am curious to know why C# code much faster than a similar sized C++
> code. How does MSIL help? Does having a common base class like object
> help in reducing compile times?
Which C++ compiler? Does it support precompiled headers?
> [The optimizer is usually the slowest part of a compiler and I would guess that
> MSIL offers fewer opportunities than native code. -John]
I'd bet on not parsing include files and not restarting the compiler binary
for every compilation unit.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.