RSS Forums RSS

C++ and Java

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply
Posts: 13
Reputation: DanDaMan is an unknown quantity at this point 
Solved Threads: 0
DanDaMan DanDaMan is offline Offline
Newbie Poster

C++ and Java

  #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. =)
AddThis Social Bookmark Button
Reply With Quote  
Posts: 4,111
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: 458
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: C++ and Java

  #2  
Nov 13th, 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  
Posts: 1,815
Reputation: Rashakil Fol is a jewel in the rough Rashakil Fol is a jewel in the rough Rashakil Fol is a jewel in the rough 
Solved Threads: 111
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Banned

Re: C++ and Java

  #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 2:51 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Computer Science Forum
Views: 467 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:00 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC