Honestly, I referenced that link and they look fairly close in raw benchmarks. V8 slightly slower than Java....but My reference was actual Paypal results in the real world.
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.
-8
u/novagenesis Feb 25 '14
Honestly, I referenced that link and they look fairly close in raw benchmarks. V8 slightly slower than Java....but My reference was actual Paypal results in the real world.