Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java and c++ comparison

 
gayathri bhushan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please list the advantages of java over c++
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why?
 
gayathri bhushan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
just curious and i think it is important that one should be clear abt it to be called a java and c++ pro...
thankyou

[This message has been edited by gayathri bhushan (edited January 29, 2001).]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is platform independant and c++ is not.
Java is easier to learn and use that c++ making it less expensive for a company to invest in. I guess the lack of pointers is a big contributer to this.
Java is less prone to difficult to solve bugs (probably due to above) - this is just hearsay.
You can get a Java Compiler and RTE for free.
JavaRanch is more fun than any c++ site that I have found.
 
paul wheaton
Trailboss
Pie
Posts: 21515
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the Java in General beginner forum.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing is the removal of pointers, This helps prevent the exceptions that occur due to improper amangement of them.
 
Manish Malik
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Carl Trusiak:
One thing is the removal of pointers, This helps prevent the exceptions that occur due to improper amangement of them.

Does this also pose difficulty in implementing some thing that could have been done quite simply in C++ ?

------------------
Manish.
 
Frank Garrison
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Uh, did anybody forget processor control?
 
gayathri bhushan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
what is processor control? Is it java related or general...
i've no clue.....
 
ryan burgdorfer
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't forget the wonderful Garbage Collector! This all but eliminates memory leaks, a common source of errors in C++.
~Ryan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic