C++ and Java
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Posts: 13
Reputation:
Solved Threads: 0
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. =)
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
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
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.
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.
![]() |
Similar Threads
Other Threads in the Computer Science Forum
- FT Junior Java Developer Needed for Major Media firm in NYC (Software Development Job Offers)
- Java/J2EE Senior Software Engineer (Software Development Job Offers)
- Front-end Java Software Engineer for Digital Video/Media Market Leader (Software Development Job Offers)
- Senior Software Engineer (Java) (Web Development Job Offers)
- Java Software Engineer (Software Development Job Offers)
- Java Front-end Developer Engineer for Stealth Media Start-up (Software Development Job Offers)
- Java Developer Required (Software Development Job Offers)
Other Threads in the Computer Science Forum
- Previous Thread: testing ability to post (having difficulty)
- Next Thread: need help with my flowchart homework
•
•
•
•
Views: 467 | Replies: 2 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode