4 ms·
Looks like Apple M1 support is live in this version: > Go 1.16 adds support of 64-bit ARM architecture on macOS (also known as Apple Silicon) with GOOS=darwin,
by ogre_codes 6y ago
Looks like Apple M1 support is live in this version:
> Go 1.16 adds support of 64-bit ARM architecture on macOS (also known as Apple Silicon) with GOOS=darwin, GOARCH=arm64.
A bit ahead of what I think most people expected. This should accelerate a few other projects progress. (Docker being the big one)
- AsyncAwait 6y agohttps://www.docker.com/blog/download-and-try-the-tech-preview-of-docker-desktop-for-m1 https://www.docker.com/blog/download-and-try-the-tech-previe...
- ogre_codes 6y agoFrom that link: > The Go language will support Apple Silicon in their 1.16 release which is targeted for February 2021. That article is a big part of why I said this was a bit earlier than expected. This ticks off one of the concerns Docker devs had about the next version.
- intricatedetail 6y agoThat's interesting. I wonder if Apple paid contributors for M1 support. It is a closed eco-system so basically they have done what Apple should contribute if they think they still embrace developers, so I hope they paid them adequately. On the other hand it's a shame that developers spend their time on this rather than other things that could benefit the wider audience rather than just users of M1. It is just my opinion.
- deleted 6y ago[deleted]
- ogre_codes 6y agoIt's likely Google paid for Go's M1 port, because Go is Google's language. Apple has supported some OSS projects via hardware donations, I'm not sure if Go benefitted, but Docker has. I'm not sure why you think the M1 is any more closed than Intel. It's a CPU core owned by a corporation. You can't license either design for personal or commercial use. If you are using x86 you are lining Intel's pockets (and likely Microsoft's). If you are using M1, you are lining Apple's pockets.
- jeffbee 6y agoGo has had aarch64 support for years. Bootstrapping the toolchain on the M1 worked as soon as the M1 hit the market. The main thing that needed fixing was Go didn't detect ARM CPU features like hardware AES support, fixed by [1]. Since that was written by Googlers, you could say Google funded it. 1: https://github.com/golang/go/commit/c15593197453b8bf90fc3a9080ba2afeaf7934ea https://github.com/golang/go/commit/c15593197453b8bf90fc3a90...
- intricatedetail 6y agoI cannot buy M1 and a motherboard and install Linux on it.
- ogre_codes 6y agoYou can install a third party OS on an M1 Mac or rather... you will be able to as soon as someone ports a third party OS to the M1 Macs. Someone is already making a Linux port.
- intricatedetail 6y agoYes, but I cannot buy just the CPU and other parts not from Apple.
- ogre_codes 6y agoAnd yet another definition of "Open"/ "Closed" is born.
- sliken 6y agoThere are Intel CPU manuals, optimization manuals, and enough documentation to make an open source driver. That seems quite a bit more open than the M1.
- wumms 6y ago> This should accelerate a few other projects progress Yes: (at least) 16 brew core formulae have status "Re-check when go works" (some of them: circleci, consul, docker, docker-machine, helm, kubernetes-cli, packer, terraform) https://github.com/Homebrew/brew/issues/7857 https://github.com/Homebrew/brew/issues/7857
- qz2 6y agoAbsolutely can’t wait for this. I want to do some performance and memory usage comparisons.
- grey-area 6y agoThis is their normal schedule - the beta release is a couple of months before the final release. The final release is due in Feb.
- ogre_codes 6y agoGotcha, somehow I missed the Beta 1 on the Title!