To view parent comment, click here.
To read all comments associated with this story, please click here.
Yeah, Java has excellent numeric performance, there's no way flash could compare; to be fair, ActionScript is not really designed for performance the same way Java is.
On the other hand, startup time and Swing performance have been constantly disappointing for normal desktop users: even on my relatively new laptop, IDEA's menus somehow feel slow and unresponsive to pop up compared to any native program.
With the JVM being such an attractive target for alternative language implementations (hopefully getting tailcalls _someday_), one can only hope Oracle can fix-up these final minor flaws with the new JVM, and who knows what the merger of also-Oracle-owned JRockit's techniques can further do for performance.
Well, given how bad Flash performance is on most mobile/tablet devices (and even some desktops), comparing Java and Flash performance is like comparing the shit I took last night with the shit I took this morning. Either way, it's still shit.
At work, we have Java apps running on servers inside of tomcat/resin instances, and we're constantly having to restart them because of OutOfMemory errors and cpu spikes. For some of them, we have to restart them once or twice a day via crontab, because the architects can't figure out WTF is causing them to wig out and swallow up RAM/CPU resources like a Hoover. Of course, I did not write these apps, so who knows how well written they are, but it seems like Java is a hog no matter what environment it runs in.
Edited 2011-07-11 02:50 UTC
I use Jboss for all my java and java/flex applications at work. We do not have these problems when the applications are coded properly, and on proper hardware.
So ... it's either a coder issue, a tomcat issue or hardware issue. Nothing to do with Java.
Replace those developers, they are a waste of time. Or .. it could be one of those management "decisions". In that case, replace those managers ...
Edited 2011-07-11 18:16 UTC





Member since:
2006-05-09
Several years ago, the mediocre Java performance and the lack of good widget libraries marked Java as slow and memory hungry when the first Java applets appeared, most of them based on AWT or 'homemade' widget libraries.
Sadly, these days the myth of Java being slow and memory hungry still remain.
I think if you could compare two current applications running inside the webbrowser, one made with the latest Flash release and the other one using JavaFX running on top of the latest JVMs, the performance would be comparable or, probably (I'm just speculating here) would be better in the Java side.