Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,733 of 2,753    |
|    Marco van de Voort to Shirsoft    |
|    Re: Compile time of C++ vs C#    |
|    02 Sep 09 09:49:04    |
   
   From: marcov@stack.nl   
      
   On 2009-09-01, Shirsoft 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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca