I'd say Go is as ready as you can be for that move. darwin/arm64 is currently a fully supported architecture, and I doubt you need lots of work in order to make the port to an eventual new Mac generation. By far the most complex part of that port is support of arm64, but that work has already been done.
However, it might still require some extra bits of work here and there if I should hazard a guess. So immediate support might not be present. Then again, Apple would need to have some kind of plan in place for the move in general. I can see two paths they can take: 1. Most of the Apple Store, at least to my knowledge, stores LLVM IR rather than the final machine code product. This allows Apple to recompile programs in the store for a new architecture. While this won't support certain programs with Intel assembly, the vast majority of programs would be supported almost from the first day. 2. Dynamic binary translation from machine-code to machine-code has been used in the past for these architectural changes. While this carries a penalty, it also provides a short-term solution. The added efficiency of recompiles for the new machine code target encourages people to install newer versions in the case. The history is old and long here. M68K to PowerPC, PowerPC to x86, x86 to DEC Alpha, VAX to Alpha RISC, and even more. Apple have been involved in at least two such models in the past, so I wouldn't count this out as a strategy. On Wed, Jun 10, 2020 at 11:32 AM Christophe Meessen < christophe.mees...@gmail.com> wrote: > There is a rumor that Apple will announce at the WWDC2020, the 22 june, > that the Macs of generation 2021 and beyond will use ARM processors in > place of the Intel processors. > > Is Golang ready to follow this move ? Will I be able to compile and run my > go programs on ARM Macs ? > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/f8bd2b7a-99e1-47f1-8cc5-3d37a1aeade5o%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/f8bd2b7a-99e1-47f1-8cc5-3d37a1aeade5o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- J. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGrdgiUbDPbMz_io9DMTmcxD04axZ6Ap8ff2OANfZPED8YQ3VA%40mail.gmail.com.