I’ve been using MacBook Air. Battery life - I had bigger expectations :) , it’s indeed nice but still seems to run off quicker than reviews and reports I have read. Compiling - that’s where it really chimes. I actually get better build times than my desktop 10700k machine (both with Xcode 12.2 and compiling same archs. The hiccups, As we develop audio plug-ins (which are dlls). it seems that Apple now has extra XPC s…
Ask HN: How do you like developing on an M1 Mac so far?
61–70 of 135 posts
Re: Ask HN: How do you like developing on an M1 Mac so far?
#62- VS Code Insiders works well for Web, Nodejs, and Ruby.
- iTerm, Alfred, and Dash all work as expected.
- Homebrew support is excellent.
- Only a few issues with needing to re-install updated Ruby gems or Nodejs packages due to incompatibility issues from native C extensions, i.e. FFI (ruby), Sharp (nodejs), libvips (c++).
- CPU intensive tasks are very fast compared to a 2015 MacBook Pro.
- Input/Output is limited, and you will probably have to buy a dock and deal with display issues if you want more than one external monitor. I am still dealing with this.
Overall I would recommend, compatibility is 95% excellent. The feel of the Mac is satisfying and problems can be solved within an hour most times.
If you need many monitors for your work, you many want to wait until the compatibility improves, or buy a dock and roll the dice.
Re: Ask HN: How do you like developing on an M1 Mac so far?
#63I got mine this week, I'm surprised it doesn't even blow hot air while building node from source. However, I am greatly disappointed in the fact that I cannot use both usb-c for displays, only one of them. I did not know of this limitation until I discovered things were not working as expected. Everything is super responsive, it's far better than the 2014 mac mini (4GB of ram) with 2020 SSD. Rosetta 2 seems to work w…
> it's far better than the 2014 mac mini (4GB of ram) with 2020 SSD Can you explain this a little better? I have a MAc Mini 2014 lying around that never got to put to good use (I inherited it when my father died) and one of my daughters tried to use for video editing but deciding against because of the memory limitations. Would you say even thought with the little RAM it is still good?
To get around that I’ve tried using both Spotify and discord in browser, and occasionally Spotify will cut out for a few seconds.
At one point I resorted to using xquartz to run a few things remotely. It was.. okay but frankly vnc performed better.
Re: Ask HN: How do you like developing on an M1 Mac so far?
#64I 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 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?
Re: Ask HN: How do you like developing on an M1 Mac so far?
#65I 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…
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?
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 remote host) don't need to be the same.Since it’s forwarding a TCP port your aren’t limited to forwarding just the web traffic either. I forward:
- Database ports (run mysql or psql locally for example)
- Docker socket
- Backend api ports
- Redis port
- Webserver port
And more...Then you just use local clients as if those things were all running on your local machine
Re: Ask HN: How do you like developing on an M1 Mac so far?
#66I got mine this week, I'm surprised it doesn't even blow hot air while building node from source. However, I am greatly disappointed in the fact that I cannot use both usb-c for displays, only one of them. I did not know of this limitation until I discovered things were not working as expected. Everything is super responsive, it's far better than the 2014 mac mini (4GB of ram) with 2020 SSD. Rosetta 2 seems to work w…
Re: Ask HN: How do you like developing on an M1 Mac so far?
#67- I had some trouble building the Rust lang toolchain (wanted to work on a PR), haven't tried again (used my other machine instead). - The battery life is great. - Something I wouldn't have thought is how much I enjoy that the machine is not heating up under stress. Difficult to describe, but that is really really nice - I have the MBP and the only time I heard the fan was when I compiled the Rust toolchain. - Tried…
Re: Ask HN: How do you like developing on an M1 Mac so far?
#68I got mine this week, I'm surprised it doesn't even blow hot air while building node from source. However, I am greatly disappointed in the fact that I cannot use both usb-c for displays, only one of them. I did not know of this limitation until I discovered things were not working as expected. Everything is super responsive, it's far better than the 2014 mac mini (4GB of ram) with 2020 SSD. Rosetta 2 seems to work w…
Re: Ask HN: How do you like developing on an M1 Mac so far?
#69Earlier 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.
Re: Ask HN: How do you like developing on an M1 Mac so far?
#70I had mine for over a month now and it’s great. Development is fast there is some libraries that are not compiled for M1 yet so if you use package managers like brew etc it might need to compile some libraries from source. But once everything is installed running code is extremely quick. You can have 100s of browser tabs without a noticeable drop in performance, I use a MacBook Air M1.
How many hours of battery life do you get when doing programming?
Normally though, I’ve had battery life hit up to 22-24 hours in light usage and the battery doesn’t drain much while it sleeps so that can sometimes mean multiple days of battery life.
I find for programming the biggest limitation is the 13” screen when on the go, as it has been an adjustment for me from having a larger 15” or 16” screen. I’m looking forward to seeing the new 16” Apple Silicon arrive in June, if you can believe the rumours. Apparently they’ll be adding native ports for HDMI. Cross fingers that it natively supports HDMI 2.1 for example...