Is C # a viable language for a large project?

I have been using C # for some time, and I love it for its great integration with Windows. The Win32 API in C ++ is a monster, but this is another story. Anyway, I was wondering if C # is a "good enough" language for larger projects? Does Microsoft use C # in any of its applications? I always assumed that C ++ was the only choice for large projects because of its speed and did not need a CLR.

What is your opinion on C #?

EDIT: By and large, I mean applications like Microsoft Project (the first example that came to my mind). It can also mean mission-critical applications.

+3
source share
5 answers

If you have not reached extreme performance (for example, games), C # is perfect for almost any application - I have been developing enterprise-wide applications for many years and, as a rule, the advantages far outweigh any (insignificant) compared to C ++ - especially when you consider development time and the relatively low cost of improving processor speed.

Since I started using C #, I would need a very good reason to get me back to something lower level, like C ++. There are simply many advantages in terms of ease of development, memory management, a huge library (.Net framework), WCF , LINQ , etc.

#

+6

#, , , , . , , .

- "".

+3

, . , .net, .

+2

SharePoint Dynamics ( Microsoft) ( ) .NET(#). , , . Microsoft, Windows Office, # ( , ).

+1

You will run into a lot of startup time because you need to load the .NET runtime. In addition, performance is actually not bad for most things.

And with garbage collection, a memory leak is not a problem, so Java and C # become good options for mission-critical applications (a memory leak increases over time and can kill things that work for weeks or months at a time. With more reliable memory, the application may be more stable).

so yes.

+1
source

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


All Articles