Click to See Complete Forum and Search --> : Java vs C++


dev
February 12th, 1999, 04:45 AM
What are the disadvantage of java over c++, apart from performance?


Thanks in advance.

dev

Zafir Anjum
February 12th, 1999, 11:05 PM
You shouldn't really use Java for native applications. You will have trouble dealing

with hardware and OS specific things. The garbage collection may kick in at the

wrong time and the Java app may appear to hang for a while. I am sure there are

many other drawbacks but then Java has its strengths too. Choose the language

that best suits your need.

Java_Hunter
February 15th, 1999, 12:36 AM
That didn't sound like you explained anything...

Personally I think that C++ is "stronger" but then I'm only a freshmen in College and the Java class spent most of the year teaching html...

Abhisheik R Vishwakarma
March 8th, 1999, 11:58 PM
hi,

by using java what U are doing if providing a new layer called as hardware

abstraction layer which makes U compiled code practically platform independant

change the HAL and U can run Ur code without recompilation


Second thing in C++ is pointers java does not support pointer concept

because of security reasons


because java does not use the capabilities of the microprocessor for that nich speed

it is inheritenly slow enough but c+= compilers compile code based on the micropro..

so they make use of optimization and hence are fast


- Abhisheik R Vishwakarma