DEV Community

Cover image for Why macOS Is My Second Favourite OS as a Linux Developer
David - TechOpt.io
David - TechOpt.io

Posted on Originally published at techopt.io AI-assisted

Why macOS Is My Second Favourite OS as a Linux Developer

Linux is my favourite operating system. I run openSUSE with KDE Plasma on my desktop, and much of my homelab runs on Linux.

However, I also genuinely enjoy using macOS.

What's interesting is that many of the reasons I like macOS are the same reasons I like Linux. Others are things I wish Linux did a little better.

As a software developer, Linux enthusiast and electronic music producer, here's why macOS is my second favourite operating system.

A Familiar Unix Foundation

Although macOS looks quite different from most Linux desktop environments, the two operating systems share a lot of concepts under the hood.

macOS is built on Darwin, which incorporates the XNU kernel and draws from Mach and BSD technologies. While Linux uses an entirely different kernel, both operating systems follow many Unix conventions.

As a Linux user, much of what I already know translates directly to macOS:

  • Filesystem hierarchy
  • File ownership and permissions
  • Users and groups
  • Process management
  • Shell scripting
  • Pipes and standard streams
  • Command-line utilities

Of course, there are some notable differences:

Component Linux macOS
Kernel Linux XNU
Home directories /home /Users
Service management systemd on most major distros launchd
Command-line utilities Typically GNU Primarily BSD-derived
Default filesystem Varies by distro APFS

macOS isn't Linux, but the underlying similarities make switching between them relatively comfortable.

The knowledge I've accumulated over years of using Linux doesn't suddenly become irrelevant when I open a MacBook.

A Development Environment That Feels Like Home

One of my favourite things about macOS is that I can open a terminal and immediately feel at home.

I can SSH into my servers, write shell scripts, work with Git and use familiar tools such as grep, find, curl and chmod.

Homebrew also brings a familiar package management experience to macOS.

Installing Node.js, for example, is as simple as:

brew install node
Enter fullscreen mode Exit fullscreen mode

You can also install graphical applications using Homebrew Casks:

brew install --cask firefox
Enter fullscreen mode Exit fullscreen mode

And update your installed packages and supported applications:

brew update
brew upgrade
Enter fullscreen mode Exit fullscreen mode

Homebrew isn't quite the same as zypper on openSUSE or apt on Debian, since it doesn't manage the operating system itself. However, it makes managing third-party software considerably more convenient.

I've also written about how I use Homebrew to keep my macOS apps up to date.

On Windows, I'd typically want WSL to get a comparable Unix development environment. On macOS, much of that environment is already there natively.

As someone who also develops mobile applications, having access to Xcode and the iOS simulator is another advantage.

Why I Prefer macOS for Music Production

Outside of software development, I also produce electronic music. This is one area where I prefer macOS over Linux.

My DAW of choice is Reason, which unfortunately doesn't have a native Linux version. macOS also has a much broader selection of commercial audio plugins available.

But software availability isn't the only reason.

Historically, setting up a professional audio environment on Linux could involve figuring out how several different technologies interacted:

  • ALSA
  • PulseAudio
  • JACK
  • Audio routing
  • Buffer sizes and latency configuration

JACK is incredibly powerful, but getting everything working together hasn't always been the most straightforward experience.

Thankfully, PipeWire has significantly improved the situation. It provides a common multimedia infrastructure with compatibility for PulseAudio and JACK applications, while working with ALSA devices.

Linux audio is in a much better place than it used to be.

However, I appreciate the simplicity of Core Audio and Core MIDI on macOS. The built-in Audio MIDI Setup utility also makes configuring audio devices relatively straightforward.

I don't think Linux's audio infrastructure is inherently inferior. In fact, Linux offers some excellent flexibility when it comes to audio routing.

But when I sit down to produce music, I want to produce music, not configure my audio stack.

I Actually Like the Apple Ecosystem

It might sound contradictory coming from someone who loves Linux and open-source software, but I genuinely like the Apple ecosystem.

I'm an iPhone user, and the integration between macOS and iOS is excellent.

Some particularly useful Continuity features include:

  • AirDrop for transferring files.
  • Universal Clipboard for copying and pasting between devices.
  • Receiving phone calls and messages on a Mac.
  • Instant Hotspot for connecting to an iPhone.
  • Continuity Camera for using an iPhone as a webcam.
  • Handoff for continuing tasks across devices.

Individually, these might seem like relatively minor features. Together, they make for a very convenient experience.

I don't need every device I own to be made by Apple to appreciate how well these features work.

Apple Makes Excellent Laptop Hardware

I'm a big fan of building my own desktop PCs. I like choosing my own components, being able to upgrade them and installing whichever operating system I want.

However, my priorities are a bit different when it comes to laptops.

I care more about:

  • Battery life
  • Portability
  • Build quality
  • Display quality
  • Trackpad quality
  • Thermal and acoustic performance

MacBooks do a particularly good job in these areas.

Apple Silicon has made them even more appealing, particularly when it comes to performance relative to power consumption.

While I don't like their limited hardware upgradeability, I can appreciate the engineering that goes into tightly integrating the hardware and software.

What Still Frustrates Me About macOS

Of course, there are things I dislike about macOS.

One of my biggest frustrations is how frequently its security mechanisms can get in the way.

Between Gatekeeper and the various privacy permission prompts, sometimes installing or running software involves yet another trip to System Settings to approve something.

There's also System Integrity Protection (SIP), which restricts modifications to protected parts of the operating system, even when running as root.

I understand why these security mechanisms exist. However, coming from Linux, where I'm accustomed to having extensive control over my operating system, they can get annoying.

I also miss the level of customization available with KDE Plasma.

macOS is polished, but Apple has a fairly specific idea of how you should use your computer. Linux generally lets you decide that for yourself.

Why Linux Is Still My Favourite OS

Despite everything I like about macOS, Linux remains my favourite operating system.

I appreciate its:

  • Open-source nature.
  • Hardware independence.
  • Native package management.
  • Customizability.
  • Transparency.
  • Freedom to modify the operating system.

I like being able to decide how my computer works, rather than having those decisions made for me.

However, I don't think being a Linux enthusiast means you have to dislike macOS.

For me, macOS combines a familiar Unix environment with excellent laptop hardware, convenient iPhone integration and a relatively frictionless music production experience.

Linux and macOS excel at different things, and I'm happy to have both in my workflow.


Originally published on TechOpt.io: macOS for Linux Users: Why It's My Second Favourite OS.

What's your preferred operating system as a developer? Do you use different operating systems for different tasks?

Top comments (0)