Current problems: - Cannot do Video calls with share screen - live coding - because it gets throttled - Cannot use both laptop display and external monitor - because it gets throttled
I have an external fan that I use to be able to do serious work. The current laptop has 64GB of RAM, but I don't think RAM is the issue.
I am considering buying a MacBook Air 15 with 24GB because I want to carry something light as I have back pain.
So my question is: - If you are using MacBook Air M2 for development, what are you running on, and did you encounter any issues?
I am concerned about it being fanless and, thus, probably going easy to throttle.
I doubt there isn't already enough information and options online and via HN search about M2 Mac's used for development.
Many people in our company use M1 or M2 Air with 16GB RAM for iOS, Android or Flutter development. No one mentioned any productivity issues as such.
I have the M1 Air 16GB, and if I'm bimbling around in NodeJS and VSCode it runs fine, but if I need to do mobile work, the Xcode UI previews and Jetbrains IDEs cause it to run warm and throttle.
It's not slowing me down, but it does make it a bit uncomfortable to use on my lap.
I recently made the switch from a laptop with a modern Intel chip to an M1 and can tell you the difference is night and day. It can compile LLVM in half the time and you won’t even notice that the laptop is busy.
As alternative, from a review I read that new AMD chips are also pretty steady. Also no throttling in laptops.
My theory is that Intel has optimized for short benchmarks at all costs.
I do backend and frontend, most of my dev time is spent in terminal and browser. Before buying it, I was worried about being fanless and was considering the Pro. I'm so happy I went with the Air. It's light, the battery lasts all day with no problem: when I go for an all day out of office work, I simple don't even think about bringing the charger with me. And if I really need to charge it (didn't happen yet), USB-C works.
Docker is always on, occasional ffmpeg transcoding, some Rust compiling... the machine does not care.
YMMV.
On a side note for back pain - have you tried acupuncture?
The only downside, if you drown it in the rain, you'd need ti replace it.
I'm back to 16" 2019 intel with 64gb of ram, and it's very noticeably worse.
Have you checked activity monitor to see what the biggest culprit is?
[I now have M1 max, 64gb 14 inch - and don't have any issues. But previously I had Intel i7 mac, 13inch, 16gb ram - no dedicated graphics card and I never had issues with development, i upgraded for video editing]
I have a dock & external monitor to switch between my Air and M1 MBP and I don't notice a difference in performance when doing the same tasks that I normally do, but games run smoother.
I run docker, usually with local supabase, affinity designer, framer, many many open tabs on chrome, usually two open vscode projects with some js builder and tests running, TablePlus, gitkraken, slack and some other smaller apps. On top of that I do video calls with zoom.
No issue. It’s fast. Ram does get full, but don’t notice it. It gets warm but not hot, unless you really push it.
Not having fans is really amazing, the quiet.
I would say the MacBook Air M2 is superior to the X1 Nano in most categories, except (1) weight (it's lighter than my iPad, which since I got the Nano leave at home) and (2) keyboard quality (which is very important to me for working longer periods).
Macs cases and screens look more sturdy but when dropped seem to break more easily than the Lenovo cases and screens, despite the latter being made from plastic (sadly, this is reporting from personal experience, sample size N=3).
One issue I experience is that "Virtual Machine Service for Docker" is consistently sitting at 6gb ram. I am running in "linux/amd64" mode as I had some compatibility issues.
Another issue is that for some reason WebStorm sometimes works much worse than on linux which I used before the mac. As if WebStorm completely turns off some features (highlight, typechecking...) from time to time.
So I can recommend the M2. The things I miss are more than 2 USB ports and to a little extent an HDR screen (the screen is good, but it's not as good as, say, an iPhone Pro or the MacBook Pro). I also haven't tried using it with more than one monitor, and I've heard that's not possible. I'm also not a fan of magsafe and would have much rather been given a USB-C cable to charge. I hope the new EU legislation kills magsafe but I doubt it (hot take, I know).
If you're looking at the 16" MBP, then you should probably go to an Apple Store and just try lifting it up first. It's super heavy. I wouldn't want to carry that thing around.
work on your posture and core strength. eventually i carried the air and a pro for work.
I did eventually move to an M1 Max MBP with 64 GB of RAM, but that was mostly from severely underestimating the uselessness (for my purposes) of locally hosted LLMs: as you said, 24 GBs is plenty for most usecases
My 2018 15" MacBook Pro is only a 16GB model and would have no issues performing these tasks. I would suggest removing the bottom panel of your MacBook and cleaning the exhaust vents. Being an Intel model, it is at least 3 years old, and dust can certainly buildup in that time.
If that does not fix the problem, something else is wrong. Yes, the intel MacBooks run hot, but even today they should be able to perform well, especially with 64GB of RAM.
However a good friend of mine uses the latest M2 powered Air with 16GB RAM and a 1TB SSD (the 24GB upgrade so a stretch too far for him) and I have to say it is a damn good machine and I could use it without much trouble. It doesn't throttle nearly as much as you would think for a fanless unit. Obviously it isn't as fast and he does hit swap when under a heavy workload whereas I am yet to hit swap but I also have 64GB vs his 16GB.
So to answer your question. Yes I think the Air is an excellent development machine for 'up-to and maybe a little over' a "heavy-medium" development workload. If you're doing a lot on the machine then you will hit its limits for sure but if you're just running Xcode and a simulator or two, etc. or PyCharm and docker, etc. you will be just fine.
If you're doing anything GPU heavy it isn't a great option but other than that I highly recommend it.
However I suggest you look at the total price once you add in 24GB RAM and more SSD storage (at least 1TB imho) vs the 14" MacBook Pro. There isn't a huge difference between them yet the 14" Pro is basically as good as my 16" for most things. Especially if you can find a good returned unit on sale cheap via the Apple Refurb store. The machines are as good as new, same warranty, etc. Well worth checking out.
Air: https://browser.geekbench.com/macs/macbook-air-2022
vs
https://browser.geekbench.com/macs/macbook-pro-15-inch-retin...
Working in IntelliJ on a few Java projects (40k LOC) and a few Docker containers, works great. I've never seen it throttle outside of video games and when it does throttle it's by 5-10% so not much but then I'm just building web apps.
If your projects are bigger or if you have a front end open in say VSCode or WebStorm at the same time and more than quite a few Docker containers then I'd recommend the Pro - basically any Macbook with a fan.
As for your throttling, I experienced massive throttling issues on a 2018 macbook pro 15”. Started out of the blue, and was so bad that I couldn’t even do 15 minutes of video meetings before audio and video lag and break ups set in. Lived with it for weeks, until I tried resetting the SMC - which worked like magic! Machine returned to its former glory. Worth a shot in your case as well.
Other things to try if the machine is aging, is to open it up, clean all the dust, and reapply thermal paste. It might be all clogged up depending on where you’ve used it. Aging thick thermal paste can be pretty bad as well.
I looked at the new air, drooled over it really, but when I found this deal I couldn’t justify spending about the same to get a fraction of the power.
When I bought the last intel mbp, i actually initially bought an m1, but at the time it was too tough to set things up. This was mid 2021. This time around it was a lot easier, though my stack might be a tad simpler these days.
Only 2 weeks in but I’m really loving this thing so far. Might be worth checking for some deals on m1 models if you can find them, I think there are still some new models circulating, though from what I saw of the airs it was mostly 8gb ram.
The only issue is that I have to sometimes fiddle about with some Docker images that don’t like ARM. Rosetta takes care of most of them, but there’s a few that are bothersome. Other than that, it’s basically perfect. That said, I’m doing web development. Nothing like 3D graphics or machine learning.
However, at this point I’d wait for M3. They should be coming in a few months. Guessing early next year.