3 ms·
Right. But even then it does not become that much worse. Just tell Go to use the appropriate cross compilation chain for the C bits, e.g. `apt install gcc-aarc
by cure 5y ago
Right. But even then it does not become that much worse.
Just tell Go to use the appropriate cross compilation chain for the C bits, e.g. `apt install gcc-aarch64-linux-gnu` and set the `CC=aarch64-linux-gnu-gcc` environment variable to compile for arm64. Compilation becomes a bit slower, but it's still manageable.
It's that easy thanks to the foundations laid by the distribution that ships a solid cross-compiler setup (in this example, thank you Debian!) and of course the brilliance of the Go design and toolchain.