6 ms·
My preferred toolchain and stack just works better on a native linux box because it doesn't need virtualization overhead when I'm on a linux box. Those efficien
by dkarapetyan 10y ago
My preferred toolchain and stack just works better on a native linux box because it doesn't need virtualization overhead when I'm on a linux box. Those efficiencies add up pretty quickly. Since I mostly do backend dev work macs have never worked for me as they should.
To address your point about this being a recent trend I actually noticed the mismatch when I first moved to the bay area 5 years ago. It seemed weird to use a mac as a dev machine and then deploy to a ubuntu box in production. There was always some issue that came up because whoever was doing the deployment didn't verify things in a VM first and then had to do some firefighting on a production box.
This wouldn't be a problem if workplaces gave you the option of getting a linux box or a mac. At most places you don't have a choice. All the IT management software is built for a mac so you get a mac.
- tigershark 10y agoSeriously??? In that case the real problem is pushing directly from a dev machine to prod. It is simply crazy not to use a staging server. I bet that even if the Dev machine has the same OS as prod a lot of shit happens when not using a proper staging server (been there seen that). So the production problems that you experienced are completely unrelated to the OS on the dev machine. They are simply caused by the wrong deployment process.
- dkarapetyan 10y agoWe can go around circles for days. The fundamental issue still stands. You are losing time and spending effort working around OS mismatches because your dev machine and your production servers do not line up. Adding a staging server moves the problem one level higher. You will still spend however long it takes to fix whatever mismatch was caused by the differing environments.
- tigershark 10y agoI develop on windows and deploy on Linux. I have done that for more that 10 years and I never found a problem that wouldn't have happened if I developed on Linux. And obviously I always deployed first on test, then on stage and only at the end in production. What kind of problems did you see that happened because of developing on Mac OS instead of Linux? The only ones that I can think of are all caused by a wrong deployment process.
- dkarapetyan 10y agoTry setting up a virtualenv on windows, linux, mac and then tell me there are no issues. Sometimes the versions won't even line up for some libraries because whatever works on windows will not work on linux will not work on mac. Same with ruby gems and npm modules that require compilation.