. Remember that java is not competing in the kernel / driver space; it's designed for networked / business / enterprise applications. In that space, developers playing with pointers means that I can crash an app by uncovering a bug in the toolbar (happened to me the other day in a kde app; click on a button, entire application goes down with an incredibly helpful "segfault"). Again, I have no idea what you were trying to do in your application that you benchmarked, but trust me, if it's 50 times slower then the c version (like you claim), then you better think about hiring a competent java developer, because you're most certainly doing it wrong.
Stop showing that you don't know what you're talking about. Pointer arithmetic is done by coders in c for all sorts of apps, not just kernel space. You really don't know what you're talking about, and your ignorance shows.
Now you're just putting words in my mouth. Please re-read what I actually wrote.
We interviewed "competent java programers" - including one of the lead devs from netapps - 10 years experience and he couldn't pass the interview because he could only think in terms of java ways to solve problems. Algorithms in c that let you do things quickly just aen't available in java. The language is crap when it comes to high performance.
But that's okay - people like you can't be counted on to manage their own memory to begin with, which is why you have toy languages like java.
So now Java is a toy... wow, not many java haters have the balls to say that, knowing that they're going to end up looking like an ignorant tramp.
Python and Ruby are perfectly valid comparisons; at the very least, it shows that the jvm is not "slow / bloated" in comparison to other technologies, and in the second place, you're still running an application in the jvm vs running an application in native code (the application being an interpreter running a script), and in these cases the jvm version performs better. It's really not that hard to understand.
They're not valid comparisons because they are ALSO SLOW - especially Ruby. The jvm will never beat a good coder in straight c. Ever. The best it could possibly do in theory is, after many runs, come close.
What part of a java application beating the c version of the same app don't you understand? (It is nice to hear you admit that 2 very famous c apps are slow; maybe there is hope for you yet... though I would have laid money on the fact that you would be one of these typical
Regarding firefox, the compressed image only holds true for the first run; subsequent runs better be almost instantaneous (because, hey, it was written in c, right?), which it's not... unless firefox is already running and open in another window, it's always in the order of several seconds to launch it. And besides, you're trying to dodge the argument on a technicality; I just gave you a bunch of examples, proving that using C and friends does not mean your application will be blazing fast; that is the point here.
No dodging - I pointed out that you're running a compressed file system - and if you did any checking, you'd notice that even after you load an instance, not all the code is actually in memory. But you wouldn't know that. Learn what the various columns mean when you look at the output from "top". Oh,, wait, what am I saying - I'm talking to someone who never learned a real computer language.
Java stopped being slow at about version 1.2, 1.3.
Bullshit. Everyone admits that swing is slow, bloated, and crap.
(Are you even capable of writing a swing app? How will you survive without pointer arithmetic?)
If a swing app is slow, 99/100 times it's because the developer was doing "stuff" in the event dispatch thread; something that is warned about in the swing docs, and mentioned all over the internet. Again, competent programmers and all that nice stuff...
Final hint: There is a reason java currently owns the enterprise space.
Really? So all those enterprises run operating systems written in Java?
Sigh... No. enterprise OS's themselves are not Java, and Java was never meant for systems programming. But statisically, a metric shit-ton of the middleware / backend stuff is built in java.
Stop the stupidity. Walk away from the keyboard, because you can't win this one repeating the advertising slogans of the Javanistas.
I will indeed walk away, this is my last post on the subject, but that's because I'm arguing with a zealot.
Not when you just showed that you don't even understand that not all of a program is resident in memory when the program is running (your firefox example).
Are you really that stupid, or are you trying extra hard especially for me? Firefox starts slow, runs slow, looks like shit, pisses all over the available memory in my system (though they have been working on this in recent updates). Feel free to replace firefox with openoffice in the previous sentence as well. Both C apps. Not that I hold that against the devels though, I'm quite happy using the programs.
Get a couple of decades experience and come back and argue.
C'mon gramps, no... "get off my lawn?" Maybe the reason why you don't like java is because it wasn't spoonfed to you by a teacher? Can't handle learning any of these "new fangled" technologies coming out?
But by then, it'll be irrelevant anyway - java is dying, [snip fanboy whining].
...confirmed, you're an irrational, blabbering zealot.
Old programmers never die, they just branch to a new address.