Is c++ gonna die

Started by
134 comments, last by cpp boy 20 years ago
quote:Original post by abeylin
C didn''t die, and didn''t get replaced by C++.
Game developers may pick C++ because of OO nature, but C code will still run faster


This is still quite a common misconception. The modern day C++ and C# compilers actually produce a higher performing application:

http://img.osnews.com/img/5602/results.jpg

It all depends on compiler.. not language. Microsoft C++ and C# compilers are faster than coding something in C and compiling with GCC.


And to the rest of the thread... NO, C++ will NEVER die. All low level things on Windows Longhorn will remain to be coded in C++ and ASM (drivers, etc).. Linux applications, MacOS applications, UNIX applications, console applications/games.. these things will continue using C++.

Linux may see a lot more in the C# department due to Mono.. but remember that everything Novell purchases dies =]
Advertisement
quote:Original post by _vizual_
Schools still teach C/C++ as the primary language in degree programs and that is what graduate students know. Application development proceeds with C/C++ due to the simple fact that it is the defacto language in which developers are comfortable with developing in.


Actually it depends on what schools. The top schools in the world for comp sci and software engineering don''t teach C++ at all.

Java, Scheme, SmallTalk, etc are used by the top schools.
Lisp is like 50 years old and it hasn''t died.

BTW, is there a university that still teaches C?
quote:Original post by jmg5
BTW, is there a university that still teaches C?


That question is fundamentally equivalent to asking if a university teaches any math or english classes.
Well, R2D22U2..
C# will likely not be used to create big projects they already have a decompiler for it however they REPLACED THE COLLEGES ADVANCED C++ CLASS I WAS GONNA TAKE WITH C# !@!(&#(^!$ damn them!! <br><br><SPAN CLASS=editedby>[edited by - DevLiquidKnight on January 11, 2004 8:52:07 PM]</SPAN>
This is off topic, but fruny, that''s a great quote in your sig.

Kory
"The pioneers of a warless world are the youth who refuse military service" - Albert Einstein
quote:This is still quite a common misconception. The modern day C++ and C# compilers actually produce a higher performing application:

http://img.osnews.com/img/5602/results.jpg

gcc compiles slower code than VC++, so that''s not a fair comparison between C and C++.
Better would be gcc vs g++.
Are there graphs for that?

C++ doesn''t call "main" directly, it calls "__" before, so it can''t possibly be faster.

http://www.mildspring.com - developing android games

If game programming books switched to C#, they''d be tied to Microsoft for no good reason. Hobbyists might not mind, but most professional game developers will want their code to run on many platforms, with no, or slight modifications. Unless MS can convince Sony, and Nintendo to use C# for their consoles, game developers will try to steer clear of C#. I''m not even going to try to figure out if MS''s own console group would try the switch. They''re the new kid on the console block, and pulling a stunt like that for XBox Next could be all that most developers need to know before avoiding it like the plague.

So, no, not any time soon, and probably not ever, though you will find SOME books that cover that niche. I''d avoid such a book though, as it''s declaring clearly that it doesn''t care about your professional future, and just wants a quick buck from the hobby coder.

Some other language may replace C++ eventually, but not something proprietary and controlled like C#.

That''s my view of it.
im kinda mad i got the new Visual Studio C++ .net 2003 and it didnt come with C#.... kinda really agravates me.. The only thing I find erm.. messed up is the new M$ longhorn that will be coming out is written mostly in C#... However one good side of this is that we all can have the source code to much of it sense there is a decompiler, unless that changes... However.. http://longhorn.msdn.microsoft.com/this website shows SDK examples I found that it does not show very many C++ examples.. no idea why this is 0.o tons for C# and vb.net i can imagin that ms is thinking OH its gonna be 64 bit chipsets so it will be faster which means OMG everyone learn vb.net we can use that now and no one can say it lags cuz we use 64 bit chipsets, so they wont see the lag even though we know it sucks horribly.

[edited by - DevLiquidKnight on January 11, 2004 9:00:03 PM]
Wasn’t C# created to compete against Java? C# hooks into the .net framework just like java hooks into the Java Virtual Machine (JVM).

So I do not think that C++ will go away anytime soon. It’s still way too important in the marketplace on all platforms to just be cast aside. In fact I do not see many universities teaching C# yet.

This topic is closed to new replies.

Advertisement