News for hackers. Stuff that matters.
Re:Native Linux GPU Driver for Apple M1 by jrockway on Thursday September 29, 2022 @05:58PM (#33027849)
You can always do this: https://wiki.debian.org/QemuUserEmulation to run amd64 binaries on an arm64 machine, or vice-versa. Docker desktop sets this up so you can pull amd64-only Docker containers on your M1 and not notice. I did some very minimal testing and it's not even insanely slow or anything (but obviously for many games, you can't leave this much performance on the table).

I do this on my workstation and can run anything, it's quite nice:

  $ lscpu | grep Architecture
  Architecture:                    x86_64
  $ GOARCH=arm64 go build main.go
  $ file ./main
  ./main: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, ...
  $ ./main
  Hello, world.

There are no comments on this comment yet.