3 ms·
Java is more widely used even within Google itself, and every single positive mentioned applies multiple-folds to it. Java has significantly more, battle-harden
by kaba0 2y ago
Java is more widely used even within Google itself, and every single positive mentioned applies multiple-folds to it. Java has significantly more, battle-hardened libraries, and in the territory of web backends it is definitely by far the biggest player. Any service worth its weight will have a Java connection library made first, and that will often be of the highest quality. Many libraries are depended on by multiple software giants, not just Google.
Java is also GCd with significantly better implementationS, they have far better throughput, and they also have a low-latency one where pause time is actually decoupled from heap size, unlike what Go does with simply blocking threads under load.
Also, Java has virtual threads which are the same as go routines, so not even that is a relevant difference.
And due to it being a bigger language, more of it will be found in LLM data sets, ergo LLMs will more useful in case of Java.