4 ms·
There's this strange idea still floating around that Java is somehow slow. Compared to hand crafted micro benchmark C code, Java is slower. But then so is every
by RyanZAG 13y ago
There's this strange idea still floating around that Java is somehow slow. Compared to hand crafted micro benchmark C code, Java is slower. But then so is everything else.
The simple facts are that the JVM is the most advanced and efficient VM available today, and the JVM is specifically targeted to increase the speed of Java. It's not much of a stretch to expect good speed out of that regardless of strange preconceptions you may have had.
The Go VM has a long long way to go be even remotely comparable to the JVM in garbage collection etc.
- pekk 13y agoHow much slower than C do you have to be in order to be called slow? Apparently, the cutoff is defined like this: as slow as Java is not slow, but any slower than Java is slow.
- RyanZAG 13y agoGo is anything but slow, it's just not as fast as Java. I was just addressing the idea that Java is somehow slow which seems to float around occasionally. Java is arguable the fastest language that isn't directly C-based and anybody thinking of it as slow is simply misinformed.