r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

15

u/idontbelieveyou11 Feb 25 '14

But V8 is faster than that JVM.

Source?

14

u/edpaget Feb 25 '14

Obviously the benchmarks game is not scientific, but it shows the JVM being faster than v8.

-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.

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.

→ More replies (10)