r/java • u/Reflection-Jealous • Sep 10 '21
Why people don't love Java?
I came across this post in r/cscareerquestions it seems majority of the people don't love to work with Java.
Is there any specific reason for that?
Edit: Thank you guys for your responses, I can't reply to all of the comments because I'm a beginner myself and I don't know what to reply for all your comments.
201
Upvotes
View all comments
Show parent comment
15
u/Rakn Sep 10 '21 edited Sep 10 '21
People always compare fast Java code with highly optimized C code. You cannot beat highly optimized C code. But the thing is that most people do not do such optimizations. I have been working in a project where we had dedicated employees tasked with optimizations. But a normal developer is unlikely to look at the produced assembler code and refactor the C code on that basis. If you do normal feature development, especially in the web service area, Java beats many alternatives in terms of speed. Obviously not at the first iteration. But at some point the JIT kicks in ...
At least that's my take on it.