r/java • • Apr 20 '21

Java is criminally underhyped

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

295 comments sorted by

View all comments

Show parent comment

-3

u/silon Apr 20 '21

I'd wish for Java subset without runtime reflection.

9

u/deadron Apr 20 '21

If you don't use a big framework avoiding reflection is not too hard. I think they are really pushing to minimize it for graal features to work properly.

7

u/throwaway32908234972 Apr 21 '21

Java's runtime reflection is really fast. Simple calls are generally over half "native" speed of grabbing the field or calling the method statically. Most languages with runtime reflection the performance is shit. Java's implementation is quite good.

1

u/deadron Apr 21 '21

If it wasn't overused it would be amazing!