Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/website: go.dev/doc/install is suggesting darwin/amd64 installer for M1 users #52487

Open
hyangah opened this issue Apr 22, 2022 · 2 comments
Open
Labels
NeedsInvestigation website
Milestone

Comments

@hyangah
Copy link
Contributor

@hyangah hyangah commented Apr 22, 2022

From @dmitshur's comment in #47578 (comment) (thanks!)

To my knowledge, likely out of device fingerprinting concerns, browsers don't officially expose the underlying system architecture, so web pages typically look the same regardless of whether the user is visiting from a macOS device with an Intel or Apple CPU.

I'm aware there are some workarounds, like getting the device GPU vendor name and checking for a known substring that M1 devices have. An example of that being used is the VLC home page, https://www.videolan.org/, which changes its default download link using that heuristic.

So, I'm not sure that we should try to add automatic detection. If we make both downloads Featured, they should be equally visible and hopefully easier to pick the intended one.

I think detecting the underlying system may be difficult. Then, I think we should investigate alternatives

  • Offer "Universal" as the default, but also provide "Intel Chip" and "Apple Silicon" options.
  • Present both options for MacOS users: Either drop-down menu or two different download block. If we take this route, add first-time go user-friendly description to refer to each architecture (I rarely see darwin-arm64 or darwin-amd64 outside the go community)
@gopherbot gopherbot added this to the Unreleased milestone Apr 22, 2022
@Deleplace
Copy link

@Deleplace Deleplace commented Apr 22, 2022

Does "Universal" already exist, or are there plans to add "Universal" to https://go.dev/dl/ ?

@hyangah
Copy link
Contributor Author

@hyangah hyangah commented Apr 22, 2022

@Deleplace There is currently no universal version. I expect that will involve more work from the release team's side, and I am not aware of any plan. I added this as a possibility :-) And another consideration is the potential binary size.

@thanm thanm added the NeedsInvestigation label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation website
Projects
None yet
Development

No branches or pull requests

4 participants