Managed versus Unmanaged

What do you think of them?

Sometimes I have to write unmanaged code at work, but with large-scale (games) projects, it just becomes a more time-consuming and complex process, which is solved by throwing more people into it.

Do you think managed code is viable for large-scale applications? (e.g. Photoshop, 3ds Max , Maya , XSI , etc., which are computationally intensive but do not have real-time game requirements (to some extent).

+3
source share
3 answers

I think using unmanaged code for performance reasons is one of the worst premature optimizations I've ever heard of. Before choosing any technology that is harder to work with, because it can be faster, you need to be sure that you need speed.

In addition, the CLR is so close to unfulfilled performance that 99 out of 100 cases should not even think about it. And even if you end up in a camp that needs performance, you should write most of your code in a managed space, and then switch to unchanged in the parts that your profiler talks about.

: , , AI.

+3

, .NET. :

  • VisualStudio .NET(, WinForms WPF)
  • Expression Blend .NET WPF
  • Stackoverflow .NET ASP.NET, .
  • VisualStudio 2010 ( ) .NET WPF

: , , .

, :

  • () ( )
  • , - , .
  • x32 x64,
  • # , ++ (, , LINQ ..)
  • ...
+3

PhotoShop... paint.net - ( PhotoShop, , , ) #.

+1

Source: https://habr.com/ru/post/1703053/


All Articles