4 ms·
Yes because Go generates static binaries and requires no toolchain. Once you link a C library, you loose these benefits and cross-compiling returns to the "norm
by giovannibajo1 11y ago
Yes because Go generates static binaries and requires no toolchain. Once you link a C library, you loose these benefits and cross-compiling returns to the "normal" difficulty. In addition to that, Go code may be buggy but it's safe, while linking a C library means dropping this guarantee.
So in the Go ecosystem it is actually preferred to use pure Go libraries not to loose these benefits.