This is almost certainly an apples and oranges issue. Any I/O limited workload should have no measurable performance benefits on the language side since the vast majority of time is spent on I/O. I'm fluent in both and I can't think of a reason why a Golang implementation would be faster than Java in any measurable way. Memory consumption is generally lower in Golang of course but that's a win at the expense of more fine grained memory management by developers.
View all comments
Show parent comment
2
u/thecodeboost Jun 11 '24
This is almost certainly an apples and oranges issue. Any I/O limited workload should have no measurable performance benefits on the language side since the vast majority of time is spent on I/O. I'm fluent in both and I can't think of a reason why a Golang implementation would be faster than Java in any measurable way. Memory consumption is generally lower in Golang of course but that's a win at the expense of more fine grained memory management by developers.