The Go compiler can produce binaries for many platforms, i.e. processors and systems. Unlike with most other compilers, there is no specific requirement to cross-compiling, it is as easy to use as regular compiling.
Programs written in C++ need to be compiled before they can be run. There is a large variety of compilers available depending on your operating system.