Live data from Hacker News

Ask HN: How do you like developing on an M1 Mac so far?

news.ycombinator.com

91–100 of 135 posts

Re: Ask HN: How do you like developing on an M1 Mac so far?

#91
I just got started with the M1 Mini, 16GB RAM.

I develop almost exclusively in Rust. Compared to my $1800 work MacBook Pro (early 2020, two fans, 16GB RAM), all my Rust projects literally compile twice as fast on 1.49.

The desktop seems snappy, but I haven't left it on long enough to see if it slows over time. Very satisfied with it so far!

Re: Ask HN: How do you like developing on an M1 Mac so far?

#92
post #65

Earlier quoted context omitted.

Can you elaborate on this?: > I do all of my development remotely via ssh and local forwards I do a little with SSH tunnels, but not much. Do you mean you have it set up so that on your Mac you can go to localhost:8080 (or whatever) in your browser and it will actually go to the remote machine?

Yes, just set up a localforward in your .ssh/config like this: Host dev HostName User ForwardAgent yes AddKeysToAgent yes IdentityFile ~/.ssh/id_m1_air LocalForward 8443 localhost:8443 LocalForward 8080 localhost:8080 LocalForward 8065 localhost:8065 LocalForward 3000 localhost:3000 ... Those line's effectively mean forward my local port 8443 to the remote host's 8443. The local port + remote port (and even the remot…

Thanks! This sounds like a great setup.

Re: Ask HN: How do you like developing on an M1 Mac so far?

#93
post #31

I love it, but I find I don't really use it. My 16" MBP has a bigger screen, 4 usb ports so I can charge, two-factor auth, external microphone and external webcam at the same time. The downside is that it's much louder under load, but that is apparently worth it for me. Also the 16" was much more expensive, but and it has much shorter time on battery - but I already paid for it and I'm usually close to a power plug a…

I sold my top of the line 16” MBP and replaced it while making a “profit” with a $900 M1 mini, since I am working solely from home. The mini is faster in almost all tasks.

I did quite a bit of benchmarking. I mostly compile code, which parallelizes well. For that workload, the higher core count on the 16" means it's (a bit) faster. For single-core work, the M1 wins.

Re: Ask HN: How do you like developing on an M1 Mac so far?

#94

Earlier quoted context omitted.

I’m so frustrated by what apple has done with externals in the last few iterations, especially displays. I am an outlier in that I use three external displays, and my current MacBook can just barely support it if I make sure to spread my devices over separate usb-c dongles. If I try to put keyboard, mouse, power, and monitor on a single advertised as supporting multiple USB and power and HDMI, the keyboard and especi…

Have you looked at the larger Thunderbolt hubs, rather than one of the cheaper and more ubiquitous USB-C dongles? I use a 15" MacBook Pro and a Caldigit TS3+ – more expensive, but I have a single cable supplying power, a bunch of USB ports, Ethernet, audio, an SD reader and 2x4k monitors. It pretty much feels like magic and has been completely flawless. It won't run three screens though – I do sometimes use a third m…

Same here - using OWC (MacSales.com) TB3 hub on Mini 2018 for 4K and 1K display, supports up to 2x4K. Haven’t seen any that support 3 screens. Has USB A and C connectors, wired Ethernet, etc. They also have smaller versions, for example without Ethernet. Works from boot with MacOS and Windows. Only issue is with Windows safe mode (!).

Re: Ask HN: How do you like developing on an M1 Mac so far?

#95
post #33

Gosh I love it so much. I’ve been doing golang and c/c++ on it and everything is buttery smooth. Few hiccups in the beginning with Rosetta but making sure I just run terminal with it ticked on makes everything fine. Once the Firefox M1 support came, I was very pleased. Everything is snappy, quiet, and light. I’d much rather trade in my mid-2019 16” rmbp for another of these at home. Battery life is amazing. 16gb hasn…

Which M1 device are you using?

The air. I forgot to mention that having a retina screen in an air feels pretty good. I do miss my 16” resolution but this one is still good for me during coding tasks with no external monitor. No fan is a huge plus.

Re: Ask HN: How do you like developing on an M1 Mac so far?

#96
post #83

Earlier quoted context omitted.

Beyond two monitors, definitely noticing less consistent external display connectivity. Often have to cycle between closing and opening the lid to finally get it to connect. Unsure if that's just a Big Sur regression, however.

I remember seeing a tweet from an Apple engineer saying how monitors sometimes break specs in all kinds of ways and how much they had to work around.

Windows and Linux do fine :)

Re: Ask HN: How do you like developing on an M1 Mac so far?

#97
I've got the base model M1 Air (8GB, 8/7 cores). I sold 2020 models of the Intel Air and ThinkPad L14 (Ryzen 7 Pro) to fund the purchase and have no regrets.

- Cross-compiling code written in Go (latest beta is native ARM) takes less than 2 seconds (total) even though in that time it is building all 4 platforms (Linux, Windows, Mac ARM, Mac Intel).

- VS Code is more responsive than the Ryzen 7 Pro was (obviously subjective). The Insiders build is native ARM.

- DotNet 5 (Core, which is Intel only until .Net 6) builds apps as fast as the Ryzen 7, and running my own C# web sites/services is indistinguishable from it.

- After decades of coding, 2 of them with C#, I'm fast. So I flip between VS Code, Terminal, and Brave, at a very rapid pace as I iterate code. Not once have I been slowed down on this 8GB machine.

- Node and Python are working great. Node via Homebrew is ARM. Python 3.9.1 was already installed (I've not checked if it is ARM as it is behaving perfectly).

- Running `npm install` subjectively feels far faster.

- The keyboard is very good (not ThinkPad quality, but still better than most). It's using the new type that the 2020 Intel Air got, not the one from the last few years with all the issues.

- The keyboard backlight keys are no longer there, so unless you open up the preferences pane you have to rely on the auto-ambient-sensing, but that is working perfectly.

- Charges off any decent USB-C charger, not just the Apple one it comes with.

- Developing for a full day of combined Go and DotNet Core eats about 40% battery. Probably only that much because Core is under Rosetta. Still runs cold though.

- It never heats up, except for when using the non-ARM Go in which case it occasionally hangs and if I don't kill Terminal it starts eating 1% every few minutes. Nothing else has misbehaved at all.

As an aside, and I know you were only asking about dev work but it may help provide context to others, running DiRT 4 (rallying) on it for an hour only used about 4% of battery life, operating at high res high quality with no lag, and the Air never even got warm. The amazing thing about that is that this was running under Rosetta.

So this was emulating Intel. Running a game better than the Intel Air 2020 did, whilst under emulation, on the cheapest M1, silent, cold, using only 4% battery for an hour. Almost unbelievable.

EDIT: It also plays Monument Valley (iPad or iOS version, not sure which) perfectly, in full screen with mouse support. Bonus.

Re: Ask HN: How do you like developing on an M1 Mac so far?

#98
post #32
post #25

Earlier quoted context omitted.

I have laptops with 64 and 32Gb of RAM, but I found my best work happens with 8Gb of RAM. I can't exactly explain how or why, but it seems to enforces discipline by reducing task (and context) switching - so much that I got myself another laptop with 4Gb.

This reads like an apple user parody.

https://www.reddit.com/r/LOLHackerNews/comments/jrrz46/not_a...

Re: Ask HN: How do you like developing on an M1 Mac so far?

#99
post #78
post #65

Earlier quoted context omitted.

Yes, just set up a localforward in your .ssh/config like this: Host dev HostName User ForwardAgent yes AddKeysToAgent yes IdentityFile ~/.ssh/id_m1_air LocalForward 8443 localhost:8443 LocalForward 8080 localhost:8080 LocalForward 8065 localhost:8065 LocalForward 3000 localhost:3000 ... Those line's effectively mean forward my local port 8443 to the remote host's 8443. The local port + remote port (and even the remot…

Just one more step missing for a fully remote docker setup: have you ever tried combining this with a sshfs mount so you can also develop an app running in a remote container?

Visual Studio has [this](https://code.visualstudio.com/docs/remote/ssh) which is quite painless to use

Re: Ask HN: How do you like developing on an M1 Mac so far?

#100
post #59

I have the M1 MacBook Air and it’s best computer I’ve ever owned, hands down. Brought me back to Mac from my X1 carbon 6th gen running Linux (arch btw). The machine itself? - Faster than blue blazes - Dead silent - Cold to the touch (even when cranking) - Has excellent screen and keyboard - No touchbar - Has bonkers battery life - Comes with tiny a/c adapter that charges it quickly When I say fast I mean desktop proc…

> i use arch btw

:)))

Post reply on HN