News for hackers. Stuff that matters.
Re:Will R Work on Apple Silicon? by Will_Do on Wednesday November 11, 2020 @05:01PM (#25063545)
Question: Would using R inside Docker on one of these Macs work somewhat well?

Previous benchmarks[0] show that the overhead on Intel Macbooks for the Docker Linux VM is quite low for scientific computing.

Would the x86 emulation hurt performance substantially or is there some other issue with this approach?

[0]: https://lemire.me/blog/2020/06/19/computational-overhead-due...

Re:Will R Work on Apple Silicon? by mr_toad on Wednesday November 11, 2020 @05:28PM (#25063766)
Why would you run R on a Mac in Docker? Docker isn’t an emulator. You’re still going to need ARM code.
Re:Will R Work on Apple Silicon? by dehrmann on Wednesday November 11, 2020 @09:55PM (#25065894)
Not that this wasn't a known caveat of Docker, but I think a lot of people are going to realize this in the next year or two.
Re:Will R Work on Apple Silicon? by ryukafalz on Wednesday November 11, 2020 @05:08PM (#25063593)
I would imagine that Docker for Mac will likely get native support for ARM macOS soon enough, in which case there'd be no x86 emulation involved and you could run the ARM Linux version of R in a container just fine.

My understanding is Rosetta 2 does not support x86 virtualization.