logoalt Hacker News

nnevatie • today at 6:10 AM • 2 replies • view on HN

> Java

Well, there's your first problem, when it comes to performance. Let's not kid ourselves - JVM is great, but it doesn't hold a candle to optimized native code.


Replies

pjmlp • today at 7:46 AM

It works great for Amazon and Netflix, some people can, others don't.

trickypr • today at 6:41 AM

I don’t think this is fair? Java isn’t that slow, so long as your task isn’t long running (give JIT time to get going) and isn’t doing anything insane like reflection.

I don’t doubt that the C++ code base may end up faster, but probably because tangential optimisations (like the author’s lock free programming, or more intelligent memory allocations) rather than because the same code runs significantly faster.

➕ show 2 replies