in reply to Re: Confirming what we already knew
in thread Confirming what we already knew

Java has actually made a lot of progress and is pretty impressive considering how easy it is to write.

I would guess that the stuff I am trying to do would be around 5-10 seconds on my laptop - still slow compared to the C of course.

Java has actually slowed down in the 1.4.x realm - but if you have the IBM JDK and the 1.3.x version - it can catch you off guard as to how fast it is.

The main issue I have with it is not the speed nor overhead (none of the things I do take up all that much RAM), but it is that Java currently can't be used in clustering - at least not in the ways that I'm familiar with. There are people working on that right now, so perhaps soon enough that will be an option.

I personally would chose C over Java in terms of speed, but I would choose Java over C++ - certainly not something I would have imagined myself saying in 1995 - and probably not even 2 years ago. But lately it has gotten pretty fast... (and then slowed down a bit :) - depending on which JDK "brand" and which release)
  • Comment on Re: Re: Confirming what we already knew

Replies are listed 'Best First'.
Re: Re: Re: Confirming what we already knew
by Elian (Parson) on Mar 06, 2003 at 14:57 UTC
    While Java doesn't inherently suck too badly, at least no more than most other languages, I stand by my statement--it would've been as much work to move from perl to Java as from perl to C, and his win would've been much less. Dunno about C++, as I find that when I write C++ code, the only difference for me between C and C++ is the comment style, so it's not like I'm taking advantage of the language... :)

    The design of the JVM (not Java the language, mind, butt he JVM itself) puts some inherent limits on what can be done to run fast without extraordinary work, but this isn't really the place for that particular discussion.