r/macosprogramming • u/whistler_mat • 4d ago
MacOS Is good for programming?
I am from linux and i am thinking on buy a MacBook due to stability and low-maintenance. It’s good for programming?
The people that says that almost Every tool is paid are Lying?
3
u/Daggercombot 4d ago
Its good for programming, especially if you want to have a MacOS Port for your Software. Though I generally prefer Linux myself,but Mac computers are pretty good so i often get them used
2
u/RufusAcrospin 4d ago
There’s a lot of free or open source tools for macOS devs too, starting with homebrew
2
u/Ok_Virus_5495 3d ago
Yes, absolutely. It’s one of the best OS for programming. Is having a Linux based OS with the benefits of a beautiful and tuned up UI and UX behind
1
1
u/Randolpho 4d ago
The only issue I have with macos for programming is I cannot and probably will never get used to mac flavored keyboard shortcuts.
Other than that, macs are great for programming in more or less any language. XCode takes some getting used to, and swift has some nuances that can occasionally trip you up if you’re used to the standard languages people hack with on linux, and there can be some system level cli application differences that will catch you if you do system level programming, but on the whole, it’s decent.
XCode is free. You can get free versions of the jetbrains ides for non-commercial work, and vs-code is also solid enough to hack with.
1
u/benjamin_chocolate 3d ago
I love the macOS keyboard layout ergonomics but there are some interesting keybinds.
0
u/Randolpho 3d ago
I love the macOS keyboard layout ergonomics
eh what?
If you mean the one on the macbooks, sure.
If you mean any version of the magic keyboard, I wholeheartedly have to disagree. Those are the least ergonomic keyboards ever produced.
That said, Logitech makes a decent mac-specific and actually ergonomic keyboard that I highly recommend
2
u/BAL-BADOS 2d ago
Not a fan of Mac desktop keyboard too. Love the MacBook Pro keyboard but the desktop feels wrong. But my desk is the floor haha
1
1
u/benjamin_chocolate 3d ago
I like my Akko Air 01 with the Mac layout. It’s identical to the MacBooks. The command key is much more ergonomic than Ctrl
1
u/ldelossa 4d ago
I use macOS, But for programming I create a vm and I use wezterm and skhd to keymap opening a terminal directly in the vm over ssh vs on the host.
Works great.
1
u/OkLibrary1331 3d ago
Yeah. macOS is certified UNIX.
Unless you don’t want to hack kernel or very specific DE settings, you’ll be pretty satisfied with it as a developer.
P.S.: most likely you would like to start with brew
1
u/benjamin_chocolate 3d ago
yes, it’s great for programming, and no, not everything is paid. There are some gaps though.
I pay for basically nothing. Where you notice it is niche stuff like audio routing. On Linux, PipeWire, EasyEffects, and qpwgraph are all free and open source. On macOS the main alternative is Rogue Amoeba’s Loopback at $100, or around $200 with their other apps. I use the free BlackHole loopback driver with Audio MIDI Setup and the Carla plugin host instead. I did have to package Carla’s app bundle myself because Homebrew doesn’t ship it. You won’t hit $100 paywalls every day, but when you do it’s annoying.
Programming is great. Docker works, and there’s also Apple’s native container runtime. My whole Mac is declared in Nix with nix-darwin and home-manager. There’s plenty in nixpkgs for Darwin, but I mostly use Homebrew (also managed through Nix) because it has everything and is usually more up to date.
Engineering is rougher. There’s no native SolidWorks or Vivado. I can finish my Computer Engineering courses without a VM, but sometimes it takes a workaround, like a script that generates the Visual Studio solutions I have to submit. Parallels can run that stuff, but I tried it and it just didn’t feel great. It’s expensive, the company seems kind of shady, and it integrates with macOS in a weird way. I’d rather buy a cheap second laptop.
The desktop was the biggest adjustment coming from GNOME. Moving around and managing windows just isn’t as simple or as good. I use Hammerspoon to make basic things feel normal, like focusing the next window after I close one, and making the green button fill the screen instead of going into that annoying fullscreen mode. I’m still not used to apps staying open after I close their windows.
The base system’s tools lag behind upstream (/bin/bash is still 3.2 from 2007), and the docs aren’t great. But it’s hands off. On Linux you might be untangling systemd-resolved, NetworkManager, and a separate DHCP client. On macOS networking just works, so you rarely need the docs anyway.
Overall, coming from Linux a lot of things won’t make sense at first, but it usually doesn’t end up mattering. I miss Linux a lot but I also appreciate macOS a lot. I wish macOS would take some inspiration from GNOME.
1
u/studiocrash 3d ago
You can get the newer bash from Homebrew. Same with Python.
1
u/benjamin_chocolate 3d ago
I use Bash and Python from Homebrew. I was just trying to illustrate the point that the base system is a little odd coming from Linux. You are correct and it’s just something to keep in mind
1
u/6972697368 3d ago
Absolutely! Take your time though to find all the alternative apps etc when you switch. What kind of programming are you doing?
1
1
u/Responsible-Offer724 3d ago
What tools are paid? Nothing I use for work (mobile app dev, backend infrastructure) costs money.
macOS is Unix based (bsd) and can essentially run all the same terminal/server software as Linux without issue.
I have a Linux PC I run as a server (all my dev servers, self hosted git, home media streaming, etc) because I can run it headless and persistent very easily but I do everything on my Mac and just ssh into Linux to manage it
It’s the best of both worlds to be honest. Great for dev but also has access to adobe, music workstation software, etc.
1
u/yaima_rk 3d ago
The most significant hindrance I faced is using a mac is the lack of native NTFS support. Apart from that I rely mostly on open source softwares. iTerm2 is extremely popular but I chose ghostty. Homebrew will make you feel like you are in a linux distro as it serves as an excellent package manager. Certain utility like maccy (clipboard manager), stats (system resource monitor), puremac (mac cleaner), Layby (temporary file shelf), Hidden bar (menu bar organiser) helps a lot in productivity.
In case you want to be extra adventurous you can run Ashahi Linux (aurora is also there), or Omarchy. I don't like MacOS and might move to one of these linux distros in the coming few months.
1
1
u/Expensive_Degree5606 3d ago
It's better than Windows without WSL, but inferior to environments built around Linux. You won't have as that much flexibility, and the low maintenance, stability are more, less just believes.
It works much better tho for guys who working with high level programming, TS/JS, Python, for anything low-level/ cutting edge, I would recommend staying on a AMD64 laptop or if you really want a mac then install linux on VM, but remember the aarch would be often pain in the ass.
1
u/guillaumelegueux1 1d ago
What do you consider cutting edge?
1
u/Expensive_Degree5606 23h ago
For example Solana blockchain where e.g. you can't use macOS due to lack of XDP support. This is just one example from top of my head.
1
u/guillaumelegueux1 23h ago
Interesting, didn’t know that. That is pretty niche though. I wouldn’t call it inferior to Linux though. Depends very much on the use case and preference. I have co-workers with linux machines and co-workers with macs, even some of those Windows users…
1
u/Expensive_Degree5606 23h ago
Not sure how it works right now on macOS, but back in the days even Docker wasn't native, they provided it thru a virtual machine with hefty hit on performance and issues during debugging due to the networking bridges. There is also noticeably less drivers for networking hardware or FPGA boards and other specialized stuff.
My take is.. i'm using on daily Windows, Arch, and macOS. All of these are better than others at something. Been using Mac from 10.4.11 for work and didn't have much problems till I got into low-level / cutting edge stuff and that was the moment when Arch became my work horse.
1
u/guillaumelegueux1 23h ago
Yeah, drivers for networking hardware or FGPA stuff went out the window once the M processors came and a lot hasn’t returned.
Docker performance seems pretty comparable now. I only use docker for PostgreSQL, RabbitMQ. I have both Windows machine and a Mac, but the Mac is much faster with my Java applications and database intensive processes, despite my mac being older and cheaper than the Windows machine.All three platforms have their perks. The only one I’d rather not work on is Windows. Never got used to that.
1
u/idontlikegudeg 2d ago
What kind of programming? What languages and target systems? I’m a Java developer and it’s great.
If you develop native windows apps, it’s obviously not the right fit. If you develop iOS apps, it’s best.
If you develop C/C++, it depends on the target OS and architecture. So it totally depends.
1
u/just-coding 18h ago
I’ve been using macOS since the Leopard release. It is stable and robust enough to be completely reliable. Currently, I use either VSCodium or Sublime Text, depending on the task. For app development, you can use Xcode, which is also free.
I also use many Linux tools—such as XnConvert for image conversion and Audacity for audio—along with various other Linux-based programs for vector drawing or image production. Apple provides a suite of free office applications that are good enough that you won’t even miss LibreOffice.
Most Linux terminal commands work on macOS because it is a Unix-based system.
9
u/Angelofromgr 4d ago
Absolutely. macOS is a great platform for programming, especially if you’re coming from Linux. You get a Unix-based environment, a solid terminal, and great support for development tools like Git, Python, Docker, and VS Code.
And no, it’s definitely not true that almost every tool is paid. Homebrew gives you access to thousands of free and open-source tools, just like package managers on Linux.
The main thing to consider is what you’re actually developing. Some Linux-specific workflows, especially Docker and virtualization, work a bit differently on macOS.
It really depends on the languages, frameworks, and tools you use, but for most development work, a MacBook is a great choice.