Friday, May 21, 2010

After 10 years C++ or C#?

Both have their own pros and cons and their market share. What I want to know is,10 yrs from now


C++ will be there for sure(they r improving it further with C++0x), but will C# loose it's glitter or will it have the same market-share


and love-and-affection(if it has any).


Or on the contrary you think C# will gain over C++.


Pros pl help with "logical reasoning" I have to choose one

After 10 years C++ or C#?
Both C++ and C# will be around for the next 10 years. However, I do see C# and .NET dorminating because it is always improving and Microsoft has some brilliant minds, fans and money behind it. Microsoft will keep updating C# with changing time. As for C++, other than C++ on .NET I do not see companies pumping brilliant minds and money to advance the language. Relying on academia to advance a language is a waste of time (just look at Pascal and it would of had died completely if not for Borland's Delphi.) That is why I am banking my money on Microsoft and .NET.





Another point; language is not that important. What is important is the engine behind the language. Object oriented programming drive C++, C#, JAVA and other dorminant languages today and the lack of it in C, Cobol (classic), Visual Basic has lead to these downfall. Just as procedural programming benefits lead to the downfall of goto-statements languages and assembly-usuage in business and Object oriented programming benefits and change in business needs lead to the downfall of procedural programming I see a new methodology on a significant rise in 10 years. It is probably aspect oriented programming or something else. Microsoft will keep updating .NET with this in mind since it has billions of dollars of market share to maintain or lose while C++ has really been the same for years other than what third-party vendors have added to it; which than MFC and .NET is not huge I believe. So Microsoft is the way!
Reply:in similar condition i chose c++
Reply:C# is tied to Microsoft's .NET, and I don't see that disappearing anytime soon. On the contrary, I see it gaining ground over Java. Rather than compare C++ to C#, I would say that both are gaining share from Java on servers. On desktops, Java is essentially nonexistent, and C++ is quite dominant. I personally would choose C++ because it would be useful on non-Windows platforms as well.
Reply:C# has great inevitable features which are not well and nicely implemented in managed (CLR) C++. Improving C++ to cover features which we take for granted in C# has turned this powerful compiler to a bunch of unreadable awkward codes which would soon looses its attention. C# has a nice look. C# surely wins.
Reply:I wouldn't go with anything that is primarily, if not only, supported by Micro$oft. (I say this as I type on my Windoze computer... lol) Has it made it to other platforms? I remember, when it was still in Beta, that it was reported that it would become an ANSI standard. Did that ever happen?





I was also unaware that C# ever gained any glitter, or wide acceptance, for that matter. But hey, I live in the embedded system trenches with C and Assembly. What do I know?





C++, if you must make a choice, is probably the way to go.
Reply:Both will be there 10 years from now. C++ is definitely going to be there because it is one of the strongest system level languages. C# and Java are application level languages.





C# won’t go away. Microsoft has exposed its Windows API through .NET, and will from now on focus on .NET only. In other words, if you want to write native windows applications, you need a .NET language, which is ideally C#. Do you think Windows will be going strong 10 years from now? Sure, so the same applies to C#.
Reply:C++ will definitely be around because a lot of code being written (or written 5-15 years ago) is in c++. People will still have to maintain this code in 10 years.





Also, many people will continue using c++ because it is platform and framework independent.





c# will be around as long as .NET is around. It was built for .NET. However, if MS goes in a different direction in, say, 5-6 years, and abandons .NET for a new framework, then c# would probably go away with it.
Reply:Wow, in ten years from now? With the major leaps and bounds technology is making I'd doubt any of the current languages will be the prevalent ones.





I predict that in ten years the great monolith Microsoft will crash, and out of the ashes rose a new software company, Phoenix, and they programmed in D and D++.


No comments:

Post a Comment