Java has its issues. Its specification stagnated for a number of years due to the sun collapse and oracle acquisition. It also does not show its strengths in command line utilities, or in GUIs(Swing enthusiasts, fight me.), or in games. It really only shines when running longer lived server side applications where the tradeoffs the language makes are stronger. When you do use it for application development it is often mired in legacy framework baggage that adds little while causing you headaches.
Once application servers are killed off for good, and the next LTS JDK releases, the future should be much more exciting.
[Java] also does not show its strengths in ... games.
i wonder if that's set to change with max 0.5ms and average 0.05ms gc pauses for zgc and performance improvements from project valhalla primitive classes and generic specialization
Hardly. If Java had ZGC and project Valhalla 5-10 years ago it would have the potential to become dominant in game dev. But nowadays Unity, the most popular engine, uses C# for scripting. Unity certainly wont just switch to Java, they invested a ton of time making C# scripting as performant as possible and all of their users are familiar with C# not only as a language but also all the tooling related to it.
Of course, new game engine could come out, but that would take years to gain any traction, and by that time, other popular engines will already be more mature and have way more available resources and developers. I mean if you look at the gamedev world now, everyone is either using Unity, MonoGame, Unreal or writing their own engine from scratch in C++. There are tons of other engines popping up every now and then, but they are mostly used by a small number of enthusiasts or people who just like to experiment.
54
u/deadron Apr 20 '21
Java has its issues. Its specification stagnated for a number of years due to the sun collapse and oracle acquisition. It also does not show its strengths in command line utilities, or in GUIs(Swing enthusiasts, fight me.), or in games. It really only shines when running longer lived server side applications where the tradeoffs the language makes are stronger. When you do use it for application development it is often mired in legacy framework baggage that adds little while causing you headaches.
Once application servers are killed off for good, and the next LTS JDK releases, the future should be much more exciting.