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 comments

8

u/throwaway32908234972 Apr 21 '21

Swing uses AWT underneath and some widgets are truly native, but you are right that many components aren't. I didn't know this. Swing's native look and feel is dead-on these days. I usually can't tell the difference at least on Windows. Swing looks like hell with the default look and feel and lazy devs don't bother switching it.

The startup times I'm talking about are for console apps using plain OpenJDK with AppCDS enabled. Check out the massive startup time (and memory) improvements in newer JDK's https://cl4es.github.io/2020/12/06/Towards-OpenJDK-17.html

Java 16 starts in barely over 20ms for simple apps. This is basically fast as interpreted scripting languages like Python

5

u/RandomName8 Apr 21 '21

wing looks like hell with the default look and feel and lazy devs don't bother switching it.

Note that the native LAF pretty much only works well on windows, it doesn't work well at all on linux or mac.

1

u/deadron Apr 21 '21

Spiffy.