Re:Half a million lines of Go
by prerok on Monday May 17, 2021 @01:12AM
(#27180259)
> Go is almost as fast
The performance measurements I've seen point to Go being faster. To me it seems also to make more sense since Go is compiled to native code, whereas Java still needs JVM to run the non-native binary.
Can you elaborate in what kind of cases Java had better results?
Re:Half a million lines of Go
by boyter on Monday May 17, 2021 @05:15AM
(#27181469)
Tight loops usually where itβs really dealing with math and not business logic. The JVM GC was tuned for throughout over latency which may be a factor.
The performance measurements I've seen point to Go being faster. To me it seems also to make more sense since Go is compiled to native code, whereas Java still needs JVM to run the non-native binary.
Can you elaborate in what kind of cases Java had better results?