C++ and Java

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jul 2008
Posts: 13
Reputation: DanDaMan is an unknown quantity at this point 
Solved Threads: 0
DanDaMan DanDaMan is offline Offline
Newbie Poster

C++ and Java

 
0
  #1
Nov 13th, 2008
Can someone please help me out? What are the pros and cons of C++ and Java? I've always been told that C++ is the ultimate programming language. It's powerful, fast, and used to run huge programs. But since Java is a close rival to C++, I was wondering what are some of the things that make C++ better than Java, and some of the things that make Java better than C++. Thanks in advance. =)
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,483
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 515
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: C++ and Java

 
0
  #2
Nov 14th, 2008
There are literally thousand of discussions on this to be found: http://www.google.com/search?sourcei...%2B%2B+vs+java

The objectivity of the comparisons vary greatly from side-by-side feature listings to all-out religious flamewars. The truth can be found somewhere in between. The wiki entry on it is probably a decent starting point to wade in: http://en.wikipedia.org/wiki/Compari...va_and_C%2B%2B
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,052
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: C++ and Java

 
1
  #3
Nov 14th, 2008
C++ is higher-level than Java, in that it has a more flexible type system and can make abstractions that Java cannot. On the other hand, Java has garbage collection.

The truth is, Java sucks, horribly. Java is pretty much as crappy as a language can be. But it has garbage collection, which makes it better than C++, but much worse than pretty much every other language. Scala, a language that compiles to the JVM, is indisputably better than Java.
Last edited by Rashakil Fol; Nov 14th, 2008 at 3:51 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC