Monday, May 24, 2010

Will C# programming language replace C++ language definitively one day ?

I want to know: Will (C++) persist as a language of its own tasks ? or: Will (C++) perish and disappear one day and be replaced definitively by (C#) ?

Will C# programming language replace C++ language definitively one day ?
thats depeneds on Companies what they use more now
Reply:No languages last forever. Personally, I detest all forms of C because of its weak typing and its tendency to be excessively cryptic. Using languages in the Ada, Pascal, and BASIC arena is actually faster when you have to pick up someone else's code. C allows people to commit programming atrocities that should merit summary execution.





Ada and Pascal, with stronger typing, tend to have much better error filtering. If you get your code past Ada's picky compiler, you know you've got half the battle won right there. BASIC, with simpler syntax, tends to be easier to decipher. Original authorship in a language such as C is what it is, but as a maintainer (among other duties), I would never write in C variants unless forced to do so. It is just too unkind to those who follow in my footsteps.





Just one man's opinion, of course.
Reply:Absolutely not. The chief advantage of C# is its integration into the .Net development suite. Mono, which implements .Net on Unix type operating systems such as Linux, has been integrated into the Gnome desktop on X-Windows. The result has been a large number of experienced Linux and Unix users driven to switch to KDE or XFCE by increased memory demands and decreased stability. This is not necessarily to say that .Net is bad for Windows. But it is different enough from the design philosophy of Unix and Linux so its attempted integration is causing trouble.





C# is so tied to dot Net that its continuation in the long term may be like that of Jobs's Objective C, which was developed for his NeXTStep computers and survives only because you can compile programs written in it using GCC. Jobs had issues with it being incorporated into GCC, however they were obviously resolved. Microsoft had the architecture of the XO (OLPC) laptop changed a very long time ago to incorporate some Windows hooks, and immediately set about trying to put Windows on it. So far there is no sign of it. I see no reason to think they are likely to make dot Net attractive to anyone but Windows developers or to make Windows attractive to anyone but business users and gamers.
Reply:No. First, although there have been efforts (and will be more) to make universal, the .net framework upon which c# depends is still windows-centric. No c# on Mac's, for instance. Second, device drivers. You can't guarantee that the proper version of .net framework will be installed on a particular machine on bootup. Third, embedded systems. No .net framework there: too big. And fourth: c compilers are available for just about every processor family and OS known to man. No such thing for c#.





So don't worry about it in your professional lifetime. OTOH if you're getting a job solely involving windows, c# is a very good bet. A nice language.
Reply:I would suspect that C++ would still continue be used, particularly for low-level programming. Also, I am surprised that you have not mentioned Java - as Java and C# do share many similarities.
Reply:I agree with miket nothing is going to change that dramatically in your lifetime, I think you can count on C and C++ to be around for quite a while yet as it is good for low level


No comments:

Post a Comment