and you get a nice little portable binary that doesn't force someone to install a compatible version of an interpreter/virtual machine to run.
It was really dumb, but that's what the client needed. So much cross compiling.
This is part of my standard Go build.sh script. You just never know who might want to run a given thing where.
GOOS=linux GOARCH=amd64 go build
GOOS=linux GOARCH=arm64 go build
GOOS=darwin GOARCH=amd64 go build
Which again, let's me distribute a binary to my end user as a single file, without directing them to install java or python3 or whatever.
(The ARM question is kinda immaterial, but I'm curious)
Mac people, for a few years now.