On CHOW: Turkey recipes
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 21 of 31:
Next »
« Previous
Good Point - let's use Assembly Language
As a programmer, I know that using 'objects' (a style of programming used in C++, Java, C#, VB.NET, etc) frequently slows down code by an order of magnitude (10 times, if you're not a techie) compared with using numerical primitives. Going back to using the processor's assemby languages would probably get us at least 10 fold performance gains over C++ (that Windows is written in). Why don't we do that?

In the real world, so much of the speed of a language depends on how it is used - all languages have natural strengths and weaknesses. Your article is correct in its points but concentrates on details that mostly cost a few percent in performance, and manages to miss the big picture. Also it ignores that a dynamically optimising JIT compiler has the potential of optimising code 'on the fly' - adapting to actual use of a program - that no normal compiler, however good, can do.

The one area which Java does suffer, IMHO, is it needs a good amount of memory on the computer, otherwise the OS will start paging (which is probably the 'slowness' that you are seeing). On the other hand, memory is amazingly cheap nowadays, and decent manufacturers ship boxes with perfectly adequate amounts of RAM.

At to your experiences - Java doesn't run on your computer unless you're running a Java program, or accessing a web-page with Java on. A smart person would have used the Autoruns tool from the SysInternals website to see what was starting up at boot-time. And, of course, if you were dumb enough to use Active Desktop to set your desktop background to a dynamic web-page that contains a Java applet, then that would cause a permanent drain. There are many ways to kill performance on a computer, ignorance of what's installed/running being the best!

Bottom line - I've found that Java programs run acceptably on my 6 year old 266MHz PII machine - so performance isn't a problem with Java itself.

/david
Posted by: David Hamilton   Posted on: 10/01/04 You are currently: a Guest | Members login | Terms of Use

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

Cool  CobraA1 | 09/30/04
I think they need this...especially in the Linux world...  Stellardyne | 09/30/04
Ooops...I forgot...  Stellardyne | 09/30/04
Linux on desktop  tero_t_vaananen@... | 09/30/04
Its good to know that...but....  Stellardyne | 09/30/04
Can you quantify and clarify the following?  Linux User 147560 | 09/30/04
quatification and clarification...  Stellardyne | 10/01/04
Window Components  P. Douglas | 09/30/04
Java always shakes up desktop  FilledOut | 09/30/04
must be using msjava still  V Sanders | 09/30/04
Nope  FilledOut | 10/01/04
Java 5 is awesome...  prime21 | 09/30/04
As do I.  doe_z | 09/30/04
Instead of running really, really, really slow ...  P. Douglas | 09/30/04
Why do you continue the "java is slow" propaganda  tjaw09a | 09/30/04
What I'm Saying Is Not Propaganda  P. Douglas | 09/30/04
Sounds like you don't know what you are talking about  tjaw09a | 09/30/04
I agree (NT)  CobraA1 | 09/30/04
I forgot to mention...  tjaw09a | 09/30/04
Huh?  Jomo_z | 10/01/04
Good Point - let's use Assembly Language  David Hamilton | 10/01/04
C++ is usually as fast as assembly language  balsover | 10/01/04
What planet?  drdozer | 10/01/04
loo, no kidding, trying running xp on that OLD pc, dog slow  V Sanders | 09/30/04
How is that old 486 holding up these days?  B.O.F.H. | 09/30/04
upgrade and get away from slow MSJAVA  V Sanders | 09/30/04
Then don't load a Linux on it, it'll die of old age first  FilledOut | 10/01/04
java sure is improving fast now that msjava is dead  V Sanders | 09/30/04
Unfortunately  CobraA1 | 09/30/04
Java Slowness  mrlinux | 10/01/04
MS had to stop shipping MSJava  balsover | 10/01/04

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
advertisement

Enterprise Applications

  • Check out some of the easiest and most powerful ways to boost productivity while saving money on your application infrastructure. See ZDNet's comprehensive Enterprise Application resource center, now!
  • New Online Dashboard
  • Read about top issues IT decision-makers face every day, plus get cost effective solutions to real life IT problems. Oracle Topline