News for hackers. Stuff that matters.
Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by matsemann on Wednesday April 21, 2021 @09:46AM (#26889611)
Current lineup has too little RAM for many dev-tasks. Like running multiple docker containers, or developing in a ram-hungry language (java+intellij), or running emulators (mobile dev).

If the next MBP16 lineup with M1 (M2?) supports 32+ GBs of RAM other vendors will have to step up their game, though.

Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by grantcox on Wednesday April 21, 2021 @09:47PM (#26897771)
I have a M1 Mini with 16GB memory. The machine's SSD is incredibly fast, so it swaps very well.

Whereas my 2019 MBP will suffer incredibly when I start running out of memory (it literally becomes unusable and requires a hard reboot), the M1 will transparently start swapping, and I generally don't even notice.

Just the other day I noticed a python process was running slower than expected, and it was a bug in my Pandas code so I had allocated 85GB of memory. The rest of the system was operating normally - Chrome, VSCode, Music were all fine.

I regularly kick off a data pipeline process with 8x concurrency, even though each process uses between 4-6GB memory. It's probably inefficient in some way, but overall is still much faster than running at 2x concurrency (where everything would fit in memory and it wouldn't need to swap).

Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by eatbitseveryday on Wednesday April 21, 2021 @09:57AM (#26889750)
> running emulators (mobile dev)

16GiB is insufficient for mobile? iPhone SE has 3GiB and 12 has 6GiB. That is less than half your M1 RAM. How much more does the emulator consume?

Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by matsemann on Wednesday April 21, 2021 @10:23AM (#26890061)
At least my coworker's former 16GB MBP (until he got a new one now) basically halted when the emulators were running, and he had to close lots of programs. Not strictly appdev, though, so he was then running and developing our backends locally, running some other needed services in docker, and then working on the android and ios app at the same time to match and test the changes in the backend. So basically all of my examples above, but at the same time.

So not strictly necessary, but when you're used to it going back to having to work around the limitations is burdensome. People not having lots of ram seldom complain, but they don't know how much time they're wasting on an inefficient workflow.

Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by toomanybeersies on Wednesday April 21, 2021 @11:35AM (#26891041)
I'm not a mobile developer, but between docker, my IDE, Chrome, and whatever other crap I've got running on my 16 GB MBP, I'm using 14.8 GB of RAM and 20 GB of swap.
Re:Apple Now Selling More M1 Macs Than Intel-Based Models, S... by nottorp on Wednesday April 21, 2021 @02:46PM (#26893836)
I'm using 25 G of ram (out of 32) right now and I only have one IDE open.

When I need to run VMs as well, sky's the limit.