Containers and slow file system access. I’m not sure if Apple has fixed it to this day.
Linux has higher share than MacOS among software developers
Submitted 11 months ago by starman@programming.dev to linux@programming.dev
https://www.jetbrains.com/lp/devecosystem-2023/development/
Comments
LemmyIsFantastic@lemmy.world 11 months ago
MrSpArkle@lemmy.ca 11 months ago
This is true, there’s been a marked increase in people at meetups unable to get their laptop working with the projector.
namingthingsiseasy@programming.dev 11 months ago
It would be interesting to see a breakdown by region on that statistic. I would say I work with about 80% Americans and 20% Europeans and Linux is definitely more popular amongst the Europeans. That said, a couple of my American colleagues have also switched from Macs to Linux, but not many people on my team use Jetbrains products (VS Code is more popular here). Overall, I would guess that Linux is more popular in Europe, South America, and Asia, while Apple is more popular in the US, but that’s just a pretty rough speculation.
kherge@beehaw.org 11 months ago
I cannot imagine doing this for my work. I need a machine I do not need to worry about breaking or suddenly becoming incompatible with the next update.
Piatro@programming.dev 11 months ago
Wait are you talking about macos or Linux?
kherge@beehaw.org 11 months ago
My bad, it was meant to be a response to the comment about people switching from macOS to Linux.
canis_majoris@lemmy.ca 11 months ago
My dev env doesn’t really change much over the OSes I use because I tend to stick with VSC which just works everywhere.
I’ve found that WSL covers more and more of my use cases when it comes to wanting to do something in Linux.
I have a ThinkPad with Fedora Silverblue on it but I’d never use it for work.
Most of the time I just stick to Windows because it covers everything I need it to and it works on every single device I own flawlessly. I’m still tinkering with this laptop, and since it’s a T80s, there are no working drivers for the fingerprint sensor that I can find. Windows Hello just works, I don’t have to worry about what I plugged in or what laptop I picked up.
Mikina@programming.dev 11 months ago
I would love to finally switch to Linux, but it’s basically unusable for any kind of gamedev…
swordsmanluke@programming.dev 11 months ago
I suppose that’s gonna be engine dependent, but godot works fine. …assuming your project is a fit for godot!
Thrift3499@lemm.ee 11 months ago
Ah how come? I’ve had to build simple stuff in unity for university, I’ve not run into issues.
Mikina@programming.dev 11 months ago
I’ve tried switching to Fedora several times, but I never managed to get it to working conditions. Unity Hub was regularly crashing, I got a bazillion of errors related to unsupported type of media files we’re using for ingame videos, and only during the time I was trying to troubleshoot the issue, Unity has crashed several times.
I suppose that if I was starting a new project, I would just go with Godot and on Linux, but a project that has been build for the last few years on Windows, and is planned to only be build for Windows for now, it adds unneccessary risk to the whole development. Just the fact that I would have to dualboot just to test whether builds work as expected is additional bother, and I suppose you will eventually run into issues with something not working the same on Windows as it did on Linux.
Also, isn’t there the whole issue of DirectX not being supported on Linux?
And since gamedev is usually a lot more resource-intensive compared to other development, you can’t really containerize it.
turbohz@programming.dev 11 months ago
Nonsense
Mikina@programming.dev 11 months ago
From my experience, just getting Unity to run on Linux has a plethora of issues. When I tried running our project we’ve been developing on Windows for the past few years, I couldn’t even compile it. Apparently, Unity on Linux doesn’t support some kind of media file formats we use for cutscenes. While I was trying to resolve it, Unity crashed few times.
And then there’s the hug problem with “works on my machines”. We’re targeting Windows, Windows is still major market share for gaming, and me being the lead programmer, I can’t afford not being able to build and test a build on the OS we’re targeting.
Even if the differences between build targets are minor, there’s still a posibility that something will just work differently on Linux than in does on Windows. And then you have the whole DirectX issue - IIRC, you can’t use DirectX on Linux, so we would have to develop the game for Vulkan or something else, which adds another problems to deal with for other programmers in our team, who don’t use Linux.
And then you have consoles. Do the SDKs for Sony, Switch or XDK even support running on Linux?
Auzy@beehaw.org 11 months ago
I was going to switch to Linux, but my big hesitation at this point is none of the distros integrate Android support
Whereas osx supports iOS and Windows supports Android now
So, it’s actually far less productive for me
onlinepersona@programming.dev 11 months ago
What kind of Android support are you talking about? You can run full android on linux with WayDroid
Auzy@beehaw.org 11 months ago
I’ve never seen that before, but looks interesting. Unfortunately though, also looks like its still Beta.
And not sure I could rely in it for the extended long term either unfortunately if a distro developer like Canonical or the red hat guys aren’t working on it directly :(
autokludge@programming.dev 11 months ago
Care to elaborate on you are looking for with Android support?
Have been happily using KDE Connect for a while now.
Auzy@beehaw.org 11 months ago
Ability to easily run Android Apps natively, within Linux… There are lots of hacky ways, but I really want a proper official supported way (which both OSX and Windows does).
Because I have a few custom apps and such I need for work or for other things. Yes I can do them on my phone, but easier to do them on computer
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:
npm install
takes forever!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.
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.
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
fogetaboutit@programming.dev 11 months ago
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.
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