I agree with everything but the “This only works on x86”. I’m not saying that everything runs smoothly on arm, but I think it really is the future. Either that, or risc-v. I doubt riscv will garner a mainstream adoption anytime soon though, but one could only dream.
Comment on Linux has higher share than MacOS among software developers
onlinepersona@programming.dev 11 months ago
Not a surprise for those with containerised workloads. Mac is a nightmare for that. Every single dev team with mac that I’ve been on has struggled with it. Heard all these things and more:
- We can’t use Docker Desktop due to licensing!
- podman doesn’t work, but colima does
npm install
takes forever!- Why can’t it find the docker socket?
- This only works on x86
- The port-forwarding didn’t work
- XYZ works in the dev-container but not when deployed
Recreating a problem you encountered with your container in a x86 linux VM in the cloud on a mac with apple silicon is no fun either.
And good luck with custom hardware on a mac. Working from home with stuff that was plug and play on linux simply refused to work on mac. Ergonomic mice, keyboards, USB-C docks, high-quality webcams, USB headsets… Either you’re in the Apple ecosystem or you’re gonna have a bad time.
If an employer doesn’t allow me to install linux on my dev machine, then I move on.
fogetaboutit@programming.dev 11 months ago
Still@programming.dev 11 months ago
well yeah arm is definitely the future, but edge cases and undefined behavior make parity between the instruction sets a major pain
mrkite@programming.dev 11 months ago
Gdb doesn’t work at all on m1 macs
prettybunnys@sh.itjust.works 11 months ago
That’s kinda weird, I develop on a M2 Mac and use docker all day, I haven’t tried podman on my m2 but I used it on my previous i7 MBP without any issue for a project I was on.
I use my own mouse and keyboard and the same monitor setup I use for my personal computer.
This just doesn’t track at all.
some_guy@lemmy.sdf.org 11 months ago
Agreed. The bit about peripherals, in particular, seems strange. I’ve never had a problem with a fucking keyboard or mouse. None of the rest, either, but seriously, keyboard or mouse? Suggesting that they don’t work makes the whole post sound like an exaggeration.
onlinepersona@programming.dev 11 months ago
Do you use a mouse with more than 3 buttons? Do you use a split keyboard?
domi@lemmy.secnd.me 11 months ago
I’m not a Mac guy so I can’t comment on the hardware side of things but I can comment on the Docker side of things.
Docker runs in a VM on Mac, and in a VM or WSL on Windows. On Windows the experience is awful, doesn’t matter if its WSL or VM. On Mac the experience is okish but there are enough differences that it makes Docker less effective as a platform.
The whole selling point of Docker is reproducibility, on Mac and Windows there are issues that do not occur on the platform that all the servers we deploy to run. I constantly have to help my coworkers with issues on Mac and Windows that simply do not exist on native Docker on Linux. It has gotten so bad that I simply refuse any help for anyone running Docker on Windows. I try my best on Mac but if I can’t solve it quickly or reproduce it on a Linux machine I dismiss it.
The devil is in the detail, minor differences are enough to throw off a system that is made to be run in a container and expects identical environments between instances.
There’s enough issues with Docker for Mac that they have separate tabs on the Docker known issues page: docs.docker.com/desktop/…/known-issues/
There’s also 426 open issues just for the Mac port of Docker: github.com/docker/for-mac/issues
prettybunnys@sh.itjust.works 11 months ago
Huh, I mean you’re saying a lot but still.
There are 200 open issues for docker compose, nearly 600 for docker cli.
The number of open issues means nothing without context.
Again, I’d love to hear about actual peculiarities you run into because as of yet in the last 5 years I’ve developed on a MBP (work provided, I previously “hated” Apple) I haven’t had these issues you’re claiming are all over.
domi@lemmy.secnd.me 11 months ago
The context is that the issues for docker compose and docker CLI are almost identical across Linux hosts and can be worked around, there are 426 additional issues just for Mac one has to watch out for.
Our main issues on Mac (that I can remember):