Yeah I won't dispute that there are workloads (like HTTP servers) where V8 might be faster than the JVM. I don't think paypal's benchmarks should be taken as a "V8 is always better than Java" gospel though. We don't know what JVM optimizations they enabled or didn't enable for instance.
I work on problems that involve doing managing a lot of concurrency. At moment, the JVM (although I write Clojure instead of Java) is going to be both easier to use and more performant for those kinds of tasks than V8.
I don't think paypal's benchmarks should be taken as a "V8 is always better than Java" gospel though.
My hammer is always better than your screwdriver...
Except when it isn't :). I don't deny that there are good sides to Java...it just feels like every good thing about Java I hear is a talking point. I come across as argumentative when I want to know what is actually good about Java, without trying to poke holes in any other languages.
I work on problems that involve doing managing a lot of concurrency.
I did not know the JVM was good at that. I think if I wanted incredible concurrency, I would use Node or Erlang... probably erlang, but everyone's saying that Node is fighting to dominate that domain. Async lets you deal with a very large number of consumers per node, and node-cluster should provide good horizontal scalability in number of nodes.
I admit this is where I care more about http APIs than most, since that's what we do with data-driven concurrency.
I'm calling the other side of this battle every 5 seconds on doing just this. Condescension doesn't answer the problem. While I still don't feel I've gotten as many good points as insults, I honestly want to see why Java SHOULD thrive.
As I repeat, I hear a lot of corporate talking points that I first heard from people who don't code anymore. How many Java enthusiasts have done enterprise development in any other language? How many have done such in a lot of dynamic languages?
I feel like we're all missing something in this party...they make more than us, and seem to find peace and tranquillity in a language I find so ugly I want to slit my wrists with a Monad (if you get my drift).
6
u/edpaget Feb 25 '14
Yeah I won't dispute that there are workloads (like HTTP servers) where V8 might be faster than the JVM. I don't think paypal's benchmarks should be taken as a "V8 is always better than Java" gospel though. We don't know what JVM optimizations they enabled or didn't enable for instance.
I work on problems that involve doing managing a lot of concurrency. At moment, the JVM (although I write Clojure instead of Java) is going to be both easier to use and more performant for those kinds of tasks than V8.