3 ms·
You can actually get a performance profile very much like Go's out of Java... * Inasmuch as you can make a blanket statement like this about a language, Go's s
by Jweb_Guru 10y ago
You can actually get a performance profile very much like Go's out of Java...
* Inasmuch as you can make a blanket statement like this about a language, Go's speed is very much comparable to Java's.
* Java has a huge number of garbage collectors available. You're just talking about the default, but there are extremely low-latency GCs.
* Java has a bunch of ahead-of-time compilers; thanks to Android this might be the most common deployment of Java.
Even green threads were tried (and sensibly abandoned) in Java before.
I think people may not be aware of all the options available in the Java ecosystem, but other than sized types, which are theoretically coming to Java 10, there isn't much performance-wise that Go does and Java doesn't.