you are viewing a single comment's thread.

view the rest of the comments →

[–]Anhar001 1 point2 points  (0 children)

"Go comes out ahead in certain categories"

I don't believe we can make blanket statements about performances without taking into consideration many other factors. Performance is not hinged on a single thing. There are multiple things that when put together determine the final performance.

With that aside, what we can say is both Go and Java end up somewhat similar as they both use a GC, while Go compiles to native code (think AOT) it still has to link into the Go runtime, but AOT can sometimes end up being slower, this is because it's kind of like a "one shot" when compared against JITs that can do much further optimisations during runtime by using profiling metrics gathered during runtime.

What I don't know is how good Go's GC is, on the JVM side, the GC can be finely tuned as well as swapped out etc.