C# compilation time for large projects (compared to C++)

后端 未结 4 1145
暗喜
暗喜 2021-02-19 09:00

I often hear people praise the compilation speed of C#. So far I have only made a few tiny applications, and indeed I noticed that compilation was very fast. However, I was wond

4条回答
  •  失恋的感觉
    2021-02-19 09:21

    As far as I can tell from my own experience, yes, C# compiles a lot faster than C++ projects. Even for large applications.

    This can be explained by the fact that C# is less complicated as a language than C++, and that C# is translated to IL (which can be optimized and translated later on to machine code) and C++ is translated immediately to machine language.

提交回复
热议问题