When will C++ be replaced?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

ViRGE

Elite Member, Moderator Emeritus
Oct 9, 1999
31,516
167
106
Originally posted by: fitz4521
c++ classes are getting replaced by java classes at my hs...that count?

This is only because the AP board is switching to it, as they believe it's a better "trainer" language of concepts for college CS/CE. While they're a somewhat powerful force, this is more of their own doing, not of outside forces acting in.
 

xcript

Diamond Member
Apr 3, 2003
8,258
2
81
Originally posted by: Linux23
Originally posted by: TerryMathews
Originally posted by: Glitchny
and it damn well bettwe cause i dont want to have to go back through school

Java's close enough that if you are far enough along to utilize classes, nodes, and templates you can just pretty much start writing java as though it were C++ and go by the compiler errors to figure out the nuances. Been there, done that, got the T-shirt.

IMO, C++ will never die. It'll be upgraded, but that's what makes it a great language. If anything replaces it, Java will. The Virtual Machine concept may take off if anyone ever integrates a 3d video aspect in it that passes through D3d or OpenGL to the host machine. Imagine, cross-platform games. No more developers not supporting Linux.

Dare to dream.

isn't Java slow when compared to C programmed applications, etc?

Yerp.

http://www.sosnoski.com/Java/Compare.html
http://verify.stanford.edu/uli/java_cpp.html
 

arcain

Senior member
Oct 9, 1999
932
0
0
Originally posted by: xcript
Originally posted by: Linux23
Originally posted by: TerryMathews
Originally posted by: Glitchny
and it damn well bettwe cause i dont want to have to go back through school

Java's close enough that if you are far enough along to utilize classes, nodes, and templates you can just pretty much start writing java as though it were C++ and go by the compiler errors to figure out the nuances. Been there, done that, got the T-shirt.

IMO, C++ will never die. It'll be upgraded, but that's what makes it a great language. If anything replaces it, Java will. The Virtual Machine concept may take off if anyone ever integrates a 3d video aspect in it that passes through D3d or OpenGL to the host machine. Imagine, cross-platform games. No more developers not supporting Linux.

Dare to dream.

isn't Java slow when compared to C programmed applications, etc?

Yerp.

http://www.sosnoski.com/Java/Compare.html
http://verify.stanford.edu/uli/java_cpp.html

The JRE versions used in those comparisons are quite old. Newer JREs should perform better.
 

TerryMathews

Lifer
Oct 9, 1999
11,464
2
0
Originally posted by: arcain
Originally posted by: xcript
Originally posted by: Linux23
Originally posted by: TerryMathews
Originally posted by: Glitchny
and it damn well bettwe cause i dont want to have to go back through school

Java's close enough that if you are far enough along to utilize classes, nodes, and templates you can just pretty much start writing java as though it were C++ and go by the compiler errors to figure out the nuances. Been there, done that, got the T-shirt.

IMO, C++ will never die. It'll be upgraded, but that's what makes it a great language. If anything replaces it, Java will. The Virtual Machine concept may take off if anyone ever integrates a 3d video aspect in it that passes through D3d or OpenGL to the host machine. Imagine, cross-platform games. No more developers not supporting Linux.

Dare to dream.

isn't Java slow when compared to C programmed applications, etc?

Yerp.

http://www.sosnoski.com/Java/Compare.html
http://verify.stanford.edu/uli/java_cpp.html

The JRE versions used in those comparisons are quite old. Newer JREs should perform better.

As a matter of fact, according to Sun (So you have to take it with a grain of salt) the newest versions of the JVM for Windows run Java byte-code nearly as fast as compiled code.

Remember, Java can be compiled to a specific architecture if desired, cutting out the performance penalty for the JVM. That being said, computers have so much power these days that the extra performance penalty given by the JVM is hardly noticable for most applications, but the benefits are astounding.
 

Staples

Diamond Member
Oct 28, 2001
4,953
119
106
C# is a good alternative for Windows programs because it is a hellava lot nicer than the MFCs. I think Windows programs will primarily be C# pretty soon which is a shift from C++.