title: Can I compile Go programs on Xeon Phi (Knight's Landing) processors?
body: <p>I'm a hobbyist who likes to run my own programs in Go, and as Xeon Phi processors become older they're also becoming extremely cheap. So cheap I can build a dual socket machine from 2015/16 for &lt;$1000</p>
  <p>I'm trying to find out if I can run Go programs on these. From what I've seen, <a href="https://grokbase.com/t/gg/golang-nuts/15771g44hf/go-nuts-go-on-xeon-phi-for-a-school-assignment" rel="nofollow noreferrer">this thread</a> says they won't run (and to try gccgo), but it says it won't run because it partially runs on an x87 ISA. Confusingly, in Go release notes <a href="https://github.com/golang/go/blob/4481ad6eb6c2b4ee52d949289da82cc00cc829fa/doc/go1.16.html" rel="nofollow noreferrer">they say they're dropping x87 support in 1.16</a>, implying it was supported in the past. I've seen in other threads that all programs will run on the compatibility layer, but that's an extremely slow layer which only has access to a small portion of the cpu's cache.</p>
  <p>I feel like I'm moving farther and farther out of my element; I was wondering if someone who's used Xeon Phi knows if it will run Go code? Or just in general, after booting up Ubuntu (or <a href="https://www.servethehome.com/intel-xeon-phi-x200-series-knights-landing-and-freebsd/" rel="nofollow noreferrer">FreeBSD, something that I've seen done and is listed in motherboard specs</a>) what sort of things aren't going to work and what will?</p>
  <p>I appreciate any and all help!</p>