News for hackers. Stuff that matters.
Re:M1 Macs Review by ojosilva on Thursday November 19, 2020 @09:03AM (#25149520)
Here's looking at getting one. But I wonder what's the currently compatibility status of the dev stack: node, git, go, java, nginx, databases (pg, mongo, maria...), editors (macvim, vscode...), iTerm, et al. And the brew family of installs, which was covered as part of yesterday's thread [1].

Macos ships with some interpreters pre-installed as part of BigSur, including Ruby, Python and Perl. And most source distributions should just compile, but my guess is that it will be buggy given the arch + os combination is novel.

Firefox (beta) and Chrome/Chromium apparently are available too.

[1] https://news.ycombinator.com/item?id=25132217

Re:M1 Macs Review by sohooo on Thursday November 19, 2020 @09:23AM (#25149735)
There's a detailed issue[1] on the homebrew repo where you can track their progress. The "Major blockers" section lists go, rust, gcc, and others.

[1] https://github.com/Homebrew/brew/issues/7857

Re:M1 Macs Review by brundolf on Thursday November 19, 2020 @10:33AM (#25150509)
What I've heard is that for the most part, even x86 apps run quite well. Exceptions include weird cases like Docker (virtualization) and web browsers (JavaScript JIT), but as you say Firefox/Chromium have native updates available and Docker is working on it. Docker has no ETA though, so if you depend on that regularly it might be a temporary blocker.
Re:M1 Macs Review by bzbarsky on Thursday November 19, 2020 @10:51PM (#25157165)
For what it's worth, Rosetta 2 does claim to support JITs (which is a pretty neat trick), and the release notes for Firefox 83 claim it should work fine under Rosetta 2 on the M1.
Re:M1 Macs Review by alwillis on Thursday November 19, 2020 @02:12PM (#25153186)
Macos ships with some interpreters pre-installed as part of BigSur, including Ruby, Python and Perl. And most source distributions should just compile, but my guess is that it will be buggy given the arch + os combination is novel.

Everything at the Unix level Apple ships is already a universal binary, including Ruby, Python, etc. For example, zsh (and bash) run natively on the M1:

    file /bin/zsh

    /bin/zsh: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit
      executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
    /bin/zsh (for architecture x86_64): Mach-O 64-bit executable x86_64
    /bin/zsh (for architecture arm64e): Mach-O 64-bit executable arm64e
Re:M1 Macs Review by zerkten on Thursday November 19, 2020 @09:28AM (#25149790)
I think VS Code will get there very quickly given demand and availability on Windows ARM. For nginx etc, many people have moved to Docker or uses Vagrant workflows which may slow them down. Anyone who follows more classic workflows or installs from Brew should be in better shape.
Re:M1 Macs Review by jakear on Thursday November 19, 2020 @12:21PM (#25151763)
VS Code is targeting an Insiders release for Apple Silicon by end of November. Experimental builds are available now. https://twitter.com/code/status/1326237772860981249?s=20

(on the team)

Re:M1 Macs Review by Eric_WVGG on Thursday November 19, 2020 @11:40AM (#25151239)
I would urge VSCode users to give Panic’s new Nova IDE a look. It’s a real native app, even without an M1 it has a much snappier feel to it.

If Docker isn’t ready by the time 16” M1s come around, I’ll probably just resort to cloud instances for a while.

Re:M1 Macs Review by mrweasel on Thursday November 19, 2020 @09:44AM (#25149994)
I think it's a little early to get an M1 based machine for development, unless you do iOS or macOS applications. My seven year old Macbook Pro could stand to be replaced, but it's getting Big Sur, and it's fast enough. I'll just wait another year and see how the ecosystem on the M-series CPUs look at that point.
Re:M1 Macs Review by rsanheim on Thursday November 19, 2020 @11:19AM (#25150994)
I had my Ruby on Rails / node dev env setup within a couple hours - the only weird thing was Redis (via Rosetta) had to run as root for some reason.
Re:M1 Macs Review by siraben on Thursday November 19, 2020 @10:39AM (#25150575)
The Nixpkgs maintainers are working on this as well. Currently around 29000+ packages build successfully for aarch64 with around 1000 failures.[0]

[0] https://hydra.nixos.org/jobset/nixos/release-20.09-aarch64

Re:M1 Macs Review by hocuspocus on Thursday November 19, 2020 @10:28AM (#25150453)
Java is mostly ready, Microsoft and Azul have published builds and they're in the process of pushing the patches upstream to OpenJDK.