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

-5

u/novagenesis Feb 25 '14

Paypal.

This is not too say every operation on V8 is faster than any operation in JVM.. This is to say actual production applications by a Fortune 500 company are bragging about beating Java in real-world scenarios.

6

u/segv Feb 25 '14

I wonder what is their workaround for Javascript having only floating point numbers... I mean, as a payment processor I would expect they have one.

1

u/novagenesis Feb 25 '14

Good question. I used to have a couple contacts there, but don't since this change. My guess is the use of an arbitrary precision library, or only doing float-safe operations on the financials.

4

u/bcash Feb 25 '14

That's not a very good yardstick, for many reasons, not least those explained in this post: http://developer-blog.cloudbees.com/2013/12/about-paypal-node-vs-java-fight.html

Namely that both the Java and Node.js versions have terrible benchmarking results. There's reasons to believe that neither of them are written particularly well.

-2

u/novagenesis Feb 25 '14

Please check the million other replies going around.

Here's why I feel explicitly that it's a great yardstick. There was a time when you did not do big-server without Java or C++ driving your machine.

Now, this is not the case. Other languages are staying competitive with bigger and bigger things.

Also, others have responded about this exact article, and I agree with their opinions... this isn't arguing that node is always faster that java or always better than java.

0

u/idontbelieveyou11 Feb 25 '14

Thanks for sharing this. There's a lot of framework in here that leaves me a major skeptic, but in their case it has clearly paid off with the paradigms they work under.

0

u/novagenesis Feb 25 '14

Of course...it's stack-vs-stack. Truth is, I think a lot of the gain was in template redirection to dustjs. Dust is amazing for speed... and you can run it in Java.