4 ms·
I'm running the last(?) Intel MBP from 2019 for rust and web development and haven't found any reason to upgrade. Interesting observation: my remote junior col
by ttiurani 3y ago
I'm running the last(?) Intel MBP from 2019 for rust and web development and haven't found any reason to upgrade.
Interesting observation: my remote junior colleague has a M2 Pro MBP with more memory than me. We're running the same OSX and node versions. Spinning up a development environment in a project using vite and a Java DB process running inside docker is about 3x faster on my old Intel than on their M2 Pro. The problem isn't anything trivial, and I'm struggling to help them figure it out over Zoom.
Not saying it isn't fixable, but I suspect there are still ARM potholes you trip on.
- verwalt 3y agoDocker on macOS is just a shitshow. It's always using a VM so I am guessing Rosetta is involved and a x86 emulation ist happening. (Again, this is a guess!) If docker is a priority, Asahi Linux might be a great option, but this will of course create new problems, as it's far from done, and switching to Linux is a project on its own. I for myself use a Debian ARM64 VM in UTM to have the most control over the VM and then just use docker in there. Works much better than I anticipated.
- prmoustache 3y ago> It's always using a VM so I am guessing Rosetta is involved and a x86 emulation ist happening. (Again, this is a guess!) Why would it use Rosetta and x86 emulation? Docker can work on arm as well.
- p_l 3y agoDoesn't mean the containers are compiled for arm
- pmontra 3y agoI confirm that. A customer of mine was running the full test suite of a Rails web app in 50 seconds on his M1 Mac, in a docker container. I ran it in 75 seconds on Linux on a 2014 laptop. 50 vs 75 could be a large improvement but not as much as one would expect from the difference of hardware: CPU, RAM, bus, everything is much faster on the M1 Mac and yet it's wasting too many resources running an x86 docker on ARM.