File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drawback of JAVA

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,


anyone can explain me that
-------------------------------
what is the drawback of java?
-----------------------------------

from my knowledge it is bit slower than c and c++ right? but why?

is there any other drawback?

please any one can explain me..waiting for your earnest reply..


thanks & regards,
seetharaman
 
abhishek pendkay
Ranch Hand
Posts: 184
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
every technology has its own tradeoff.. yes java is slower compared to C and C++ because the developers of JAVA were more concerned about platform independence then speed which made the language a bit slow compared to C but then it does offer you features C and C++ does not ... so its a personal judgement wether to consider speed as Java's drawback or to take it just as a tradeoff because it offers other features
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by abhishek pendkay:
yes java is slower compared to C and C++


This hasn't been the case for quite some time:

Java performance on numerical code is comparable to that of C++,

Is Java Pulling Ahead?

The results I got were that Java is significantly faster than optimized C++ in many cases.

Java is Faster Than C++

C still wins on the first iteration, but Java is actually slightly faster on subsequent iterations!

Java is Faster Than C

Java has drawbacks, interacting with Word and Outlook, or the fact you have to install a VM, but the speed difference between Java and C/C++ performing the same work is negligible.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is not really slower than C or C++ anymore. That was a common criticism years ago, but currently Sun's Java VM is so well-optimized (especially the Hotspot just-in-time compiler and the garbage collection algorithms) that it is not really true anymore.

It is hard to speak about "the drawbacks of Java" in a very general sense. Whether Java is a good tool or not depends on the job that you need to do.

For example for low-level system programming, Java is probably not the best tool for the job - because Java was designed to be platform-independent, it can be difficult to do platform-specific things with it.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks All
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a little bit like asking "What's the drawback of apple pie?"
 
Gary Morris
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, for goodness' sakes! Most EVERYBODY knows that cherry pie RULES over apple pie ANYDAY!!
 
joseph prabhu
Ranch Hand
Posts: 162
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by seetharam venkatasamy:
HI All,

Yes java is bit slower than C/C++. To have a platform independent we have to pay the time.There will be no much differenc in time.

Collections classes does not have unique method name to add/remove/manupulate the objects. To run the java developed program all the client should have jvm in the machine.java applets are browser dependent.java.net package have great disadvantge that is being replaced by R.M.I . if you come to know many more list it and send to my private mail
anyone can explain me that
-------------------------------
what is the drawback of java?
-----------------------------------

from my knowledge it is bit slower than c and c++ right? but why?

is there any other drawback?

please any one can explain me..waiting for your earnest reply..


thanks & regards,
seetharaman
 
Campbell Ritchie
Sheriff
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and what is your point or question, Joseph Prabhu?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic