I tested simple a simple Go program with a for loop counting from 1 to several millions and making simple integer calculations and the same with Java. Java was 4-5x faster than Go.
It looks like HotSpot VM is preety much optimized and that Go still needs a lot of compiler optimizations...
I know that this test isn´t representative and complete, but it is a good smoke test for first comparison. C and Go should be faster than Java in pure integer numerics (or at least as fast as Java)...
It looks like HotSpot VM is preety much optimized and that Go still needs a lot of compiler optimizations...
I know that this test isn´t representative and complete, but it is a good smoke test for first comparison. C and Go should be faster than Java in pure integer numerics (or at least as fast as Java)...