Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's probably because of the new register passing calling convention. From https://tip.golang.org/doc/go1.18

> Go 1.17 implemented a new way of passing function arguments and results using registers instead of the stack on 64-bit x86 architecture on selected operating systems. Go 1.18 expands the supported platforms to include 64-bit ARM (GOARCH=arm64), big- and little-endian 64-bit PowerPC (GOARCH=ppc64, ppc64le), as well as 64-bit x86 architecture (GOARCH=amd64) on all operating systems. On 64-bit ARM and 64-bit PowerPC systems, benchmarking shows typical performance improvements of 10% or more.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: