Cover Image Credits:
https://onehack.us/t/which-os-you-use-windows-linux-macos-post-here-discussion/65891
Hello Dev Community!
I am currently using macOS as my operating system. I have been told that Linux is better than macOS and Windows for programming. If you use Linux, I would like to know the pros of Linux and the limitations it has. Also, if you would recommend using Linux, should I dual boot or use something like VirtualBox?
Thanks for your help.
Latest comments (59)
Use whatever you find yourself most accomplished with. When I'm doing straight programming, and little devops or serverless....I honestly prefer my osX rig.
When I'm doing devops heavy work, I'll gladly put away the heat of a thousand suns that is my MBP and bust out my XPS 13 with Ubuntu.
It's not about the operating system, it's about what you're doing with it :), most importantly, have fun.
It's fun working in Linux from core shell scripting to python serveretc.
Should Consider this.
dev.to/cyberhck/os-wars-let-s-sett... TLDR: use what you're most comfortable with.
Depends on the kind of programming you're doing.
Me, I do game development, and Unity doesn't support Linux. I'd have to do it inside a VM, or use some other workaround. I'd also need to do the same for Photoshop.
At that point, might as well just not use it, especially when its perks -- good access to various packages -- are wasted on me.
Thanks for your input. I don't plan to switch to Linux completely, I just want to do it inside a VM. I do mostly full-stack/ML development and from my knowledge, it's all available on Linux!
What an interesting question! I'm a long time Linux user (since 2009 more or less) and was wondering to try MacOS. Now, I love the freedom Linux provides (like, my workflow is really mine) but there are downsides and slippery slopes.
@hb I have a question for you: why change? What are you searching for in Linux? I think the switch (and which distro to target) depends a lot on the answer
I have heard so many great things about Linux: the customization, security, transparency, cost (free), it's open-source, and just overall makes you understand the cloud and different dev-ops more (host my server on Linux, my OS is Linux). I am searching for a distro which is easy to get into (not super complex), has all the best features of Linux, and has a customizable look. Hopefully, you can help me find a distro which suits my needs best! I will not switch to Linux 100%. I will try out different distros in a VM, and if I like one then I will dual boot! Thanks for your input.
You can derive most of the Linux distribution you see today from common ancestors:
More details on the Linux distro history can be found on Wikipedia.
Apart from the OS, you should have a look at the Desktop Environment you would like to use, I suggest to look at the Wikipedia page for a general overview. Consider that Ubuntu has lot of derivatives pre-made with a Desktop Environment, something that other distribution do not provide (you can always do it manually, and I suggest you to do it, but not on your live system 😆).
Good luck and have fun. That's the most rewarding thing of using Linux.
Wow, thanks for all of this information. I will make sure to have fun when trying Linux! So far I have tried Ubuntu and loved it, I just need more performance. I might dual boot soon!
If you use a Mac, you won't need Linux. It's UNIX like Linux. If you have a current Windows 10, just install WSL2 with a Linux distribution, Docker for Desktop, Visual Studio Code, and you're good to go. in any other case, install Linux.
Limitations of Linux are mostly less Games and no Photoshop. You say you have a Mac, and if you can live with that game-wise, you can live with Linux as well. If you need the Adobe Creative Suite, keep the Mac.
Thanks for your input. I don't really play games, do photoshop, or do Adobe stuff, I just code, do school, and watch YouTube! I think this is why moving to Linux is okay for me.
Here a counter unpopular opinion,
Recently, I switch my personal laptop to Windows, after running Linux for a month. Before I had an old MBP that last me for about 12 years. I did start using Linux in 1999, and since then I run all of time from time to time.
I got a new job recently and asked first to have a Linux laptop, but I changed my mind three month into the job and ask to switch back to Mac.
Here some things to consider:
First, Mac OS has a consistent key-binding across all the system. IMO, a more efficient one for programming. This is what I miss the most when I’m not on OS X.
On Linux, it's pretty inconsistent. On the terminal, you have the same emacs-like as you have on OS X. But has soon as you're in GUI mode, it's a windows-like mess. For example, each application will behave differently with
ctrl+w. Sometime copy/paste isctrl+c/vbut other timeshif+ctrl+c/v. On OS X, it's all the same, everywhere.Second, if you use a lot the built-in keyboard and trackpad, a MBP trackpad is just incomparable. The precision, palm detection, two-finger navigation is horrible and frustrating. You have different options to configure it, but even after spending many days trying to get it working, there was always something short. If you plan to use mostly a mouse, this point is not valid.
There are other small issues I experience at home as well as with my work setup. Shorter battery life, broken suspend/sleep mode, screen recording quality issue, dual monitor + screensharing, update that broke working stuff (yes still in 2020, like sound, recording, resolution), no resume session.
Nevertheless, if you never run Linux as your main OS, I’ll encourage you to do so. You will learn much, and you will be more at ease later when you deploy on Linux and work with docker, from OS X.
Thanks for your input. I don't plan to run Linux as my main OS unless I really enjoy it. I will play with different distros in a VM and see if I really like one. If I really like Linux, I would dual boot with macOS (macOS costs $$$, got to save it).
Here's a few:
macOS has 400% more computer threats than even Windows as of this year. SOURCE: USA Today
You're locked into an endless cycle of mandatory and semi-mandatory software upgrades that will eventually render your expensive hardware useless. Linux does not do this: you are in control.
Just because macOS is POSIX doesn't mean it's transparent. It is incredibly opaque. Apple runs the show, especially within their controversial "walled garden" model. The Linux ecosystem, on the other hand, is built around transparency.
Apple itself really brings nothing to the table that the Linux ecosystem cannot provide.
If you want Linux-preinstalled hardware that sports the same level of quality and attention-to-detail that Apple used to be known for, see System76. system76.com/
Otherwise, there are dozens of excellent Linux OSes that will run on nearly anything you already have or could otherwise buy. My favorite is Pop_OS!
Thanks for your input. This is why I want to try Linux! I don't plan to have Linux as my main OS but if I like it, I will dual boot. I will definitely check out Pop_OS!
It's better to use linux with dual boot over VM. WSL is better than VM anyway but to completely utilise it, it's better to use a distribution. Feel free to ask more. I've been daily driving a linux distro for 4 years and haven't touched windows unless I wanna game.
I plan just to play with different flavours of Linux in a VM and find which one I like. I will dual boot if I really like a specific Linux distro. Thanks for your insight!
Early this year I started playing with Linux distros on VirtualBox...I started with Xubuntu and later tried Ubuntu itself...I still have. But somewhere along the line I chanced Debian...I installed full version and have been in love with it forever. Debian full installation is the pinnacle of Linux experience...
In the "Discover" software app...you will find a torn of useful software.
Bugs are fixed in Debian long before Ubuntu and other Distros do so.
The only challenge with Linux Distros is the lack of good design software like Adobe...If that could be fixed...Linux will have no limits, especially Debian!
Thanks for your insight. A lot of people have said that Debian is the best Linux distro. Linus Torvalds hasn't used it right? Ubuntu and Debian are on my list to try on VirtualBox.