You are viewing a single comment's thread.

view the rest of the comments →

0
3

[–] 5770714? 0 points 3 points (+3|-0) ago 

Because it adds layers on layers on layers on layers of library code. Sometimes reinventing the wheel is worth it.

0
3

[–] enneract 0 points 3 points (+3|-0) ago 

It's not just layers of library code, but layers of abstraction in general. Tons of developers are using managed languages like C# that are significantly less efficient because of all the run-time checks and garbage collection they perform.

0
1

[–] 5772772? 0 points 1 point (+1|-0) ago  (edited ago)

C# creates very efficient code, if it is slow then it has nothing to do with C# but the way you built your application. Just look at what the IL creates and especially look how the IL is translated to real machine code that is near efficient as C++.

But of course if you have a SAP background the you will never get the speed out of managed code.

0
1

[–] rwbj 0 points 1 point (+1|-0) ago 

C# is by no means less performant than even something like native C++ now a days. That hasn't been the case for years. Feel free to Google for benchmarks. You won't find many done in the past 6 or so years as once the difference became completely negligible benchmarks no longer served much purpose. Of course you are right though that there has been a dramatic spike in the number of games and developers using C#, and so of the proportion of all games using C# - including poorly optimized ones - has increased.