home bbs files messages ]

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,734 of 2,753   
   Hans-Peter Diettrich to Shirsoft   
   Re: Compile time of C++ vs C#   
   02 Sep 09 15:23:17   
   
   From: DrDiettrich1@aol.com   
      
   Shirsoft schrieb:   
      
   > 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?   
      
   The less ambiguous syntax, simplified preprocessor and true precompiled   
   header files (assemblies) speed up C# compilation.   
      
   > [The optimizer is usually the slowest part of a compiler and I would guess   
   that   
   > MSIL offers fewer opportunities than native code. -John]   
      
   ILASM also doesn't have to create code for an horrible instruction set   
   (e.g. x86), has no register allocation pressure or instruction ordering   
   requirements. All this is done by the JIT compiler.   
      
   DoDi   
      
   --- 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