4 ms·
My experience and the benchmarks concur that go despite being native, is consistently noticably slower than c# and often slower than java. I think native vs vm
by galangalalgol 4y ago
My experience and the benchmarks concur that go despite being native, is consistently noticably slower than c# and often slower than java. I think native vs vm isn't as relevant as I once thought it was. Then you have a dyanamic typed jit language like julia with performance leading the pack in performance, at least ong the gc languages. I would never have predicted that. Go is at the slower end of the non-interpreted gc languages when used idiomatically including all the vm languages. I would more say it lies between java and JavaScript. So between vm and interpreted. It shares that niche with swift and haskell.
- rahen 4y agoDid you try with a recent release of the Go compiler? Versions above 1.15 have seen significant performance optimizations, most notably better inlining.