3 ms·
> In fact kotlin/java has better peak performance than Go. Says what benchmark?
by jjtheblunt 5y ago
> In fact kotlin/java has better peak performance than Go.
Says what benchmark?
- kitd 5y agoThere are many benchmarks showing Java faster than Go. The trick is picking one that people agree is representative. It shouldn't be surprising though. "Peak performance" doesn't include start-up time, and ignores memory. If you discount both those, there's no reason that JITted native code wouldn't be faster than a runtime that includes goroutine scheduling.
- jjtheblunt 5y agounless goroutines aren't in use, which means the generated code probably matches what llvm and C would generate.