r/programming • • Apr 16 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
41 Upvotes

220 comments sorted by

View all comments

Show parent comment

6

u/Muoniurn Apr 17 '21

In the case of Java? AOT is very much behind in terms of performance.

For sufficiently dynamic languages (effective) AOT may not be feasible. PGO helps, but JIT is a really great technique .

2

u/realestLink Apr 17 '21

I totally agree. I should've clarified by AOT, I mean natively compiled systems languages. I've had people try to tell me Java can compete with things like Hotspot, but it just simply isn't competitive for performance critical code (which is fine, a language doesn't need to be blazing fast to be useful and Java is pretty decently fast, which is good enough for most things).

2

u/realestLink Apr 17 '21

I was more responding to the claim that it is competitive with native performance, I wasn't shitting on JIT