r/linuxquestions • • Sep 22 '21

Should I switch to Linux?

So I'm starting my programming journey and everywhere I look there's people telling me that Linux is better for coding. Why is that?

Also I really like gaming, I would need a virtual machine with Windows to play most my games. Does this work well or the games don't run proper?

136 Upvotes

124 comments sorted by

42

u/eftepede Sep 22 '21

Games in VMs are not great. If you want gaming and your games are not available on Linux, consider dual booting.

39

u/[deleted] Sep 22 '21

Steams Proton is amazing though. While it does not work with 100% of Windows only games, its pretty close. Also there are games that have native Linux builds as well.

10

u/victorsl96 Sep 22 '21

Nice, I'll check it out

12

u/anh86 Sep 22 '21

And with the Steam Deck coming at the end of the year (and thus hundreds of thousands, if not eventually millions, of new Linux gamers coming online in a huge wave), I'd expect Proton compatibility to increase very quickly.

1

u/[deleted] Sep 22 '21

Linux+proton is the same or better than windows in my experience. I have not run native windows in a long time, but friends with similar hardware but running windows 10 it tends to be similar performance on modern games. Older games tend to run better in proton on Linux than on windows 7/10.

There are exceptions though. Some games need a tweak of the run options, and some games don't work at all (mostly due to anti-cheat requirements or excessive DRM). protonDB is your friend.

Proton comes with steam on linux, it's a single checkbox to enable it. If you already use Steam, try dual-booting linux, and give your games a test run on your hardware. This will also let you see how linux will run on your bare metal hardware, a VM won't tell you as much performance wise since you have the overhead of windows, and the drivers won't be the same.

3

u/[deleted] Sep 22 '21

It's definitely getting better. Leaps and bounds better every year.

In it's current state, it's still a sacrifice. Nothing can compare to native windows to this day for gaming (unless games are native on Linux).

This may change continually, and in a year or two things may be much closer than they've ever been.

0

u/[deleted] Sep 22 '21

[deleted]

2

u/rydoca Sep 22 '21

Sure but what's the performance overhead like at the moment? And on what hardware, curious if it's improved enough

1

u/[deleted] Sep 22 '21

Its actually not much at all.

I've noticed 10% occasionally. But often its the same or 5% or less.

Depends on the game but the majority of big games work with <10% performance loss.

0

u/[deleted] Sep 22 '21

[deleted]

2

u/rydoca Sep 22 '21

I agree with better hardware who cares. But a lot of people have considerably worse hardware than you so overhead is a concern

3

u/nekoexmachina Sep 22 '21

The only games which don't work are games w/anticheat from what i ve seen in last couple years.

2

u/[deleted] Sep 22 '21

Gaming in a VM with GPU passthrough is great IMO. I have a single GPU passthrough setup and I can VNC into my Linux host from Windows.

24

u/zmaint Sep 22 '21

I haven't used windows in years and I game heavily. Between Steam and Lutris 99% of what I play works fine (most cases on par with windows, some run surprisingly a lot better, their are a small few that run slightly worse). The handful that don't run, actually do run, but anticheat won't let them launch. If all you're doing is online FPS type stuff yes, you're probably going to run into a lot of issues. If not, pretty much everything else just works.

www.protondb.com is a good resource for seeing if your favorite must have games will run.

1

u/Waffles38 Sep 23 '21

steam anticheat is okay with vms and linux right?

1

u/zmaint Sep 23 '21

I honestly don't know, I'm not really much of a fast twitch gamer so I don't usually play stuff that has anti cheat. That being said, with the launch of Steamdeck using Arch Linux + proton, and Valve's goal of having all Steam games work on it, that Steam's own anticheat should work. I'd hit protondb and check, but I'd imagine you should be good.

1

u/Waffles38 Sep 23 '21

sadly currently it doesn't seem like valve's anticheat is okay with linux

https://www.protondb.com/app/440

1

u/zmaint Sep 23 '21

That's really odd. I would imagine that gets fixed at some point due to the aforementioned steamdeck. I'd say keep checking in. Gaming on Linux has come a VERY long way in the last few years.

3

u/YuraKuzin Sep 22 '21

for what kind of coding? :)

3

u/victorsl96 Sep 22 '21

Python

3

u/YuraKuzin Sep 22 '21

sure linux better :) you don't need to set up this in shitty windows :)

5

u/Gabadabs Sep 22 '21

You could use Linux. Plenty of Windows games run fine without a VM by using wine/proton. That said, lots of games don't work. Check what games you play on protondb.com and lutris.net. Also, Windows is perfectly acceptable for coding, you don't need to swap to Linux just for that.

5

u/MediumRarePorkChop Sep 22 '21

I'm no programmer, just an ex admin who is a user of all of the big three operating systems (hate mac though, probably going to ditch it soon).

Run what you're writing for. If you're writing windows programs, run windows. If you're writing linux programs, run linux. Mac? MacOS.

Run them all, use whichever works best right now.

2

u/jackinsomniac Sep 23 '21 edited Sep 24 '21

+1, Surprised nobody touched on the "better for programming" thing yet.

OP, code is code. When it all gets saved to github, the repo doesn't care if that code was written on Linux, Windows, or MacOS. It doesn't care if it was written in an Eclipse IDE, Visual Studio, or in freaking notepad. It is what it is, it's fundamentally agnostic.

The only time OS matters is if you're writing software/scripts/functions that are OS-specific. For example, in Windows the first scripts you'll probably write are batch .bat, but in Linux you'll probably start with shell .sh scripts. But the specificity quickly ends there, with Windows Subsystem for Linux (WSL) you can run shell .sh scripts directly in Windows now, and Microsoft has been pushing PowerShell in favor over batch for some years now with PowerShell v6 and v7 being open source and run natively on Linux.

Scripting languages like Python and Ruby are agnostic. So is an application-building language like Java. And so are server-based languages like JavaScript and SQL.

OP, you're talking about 2 huge projects here, you should pick one to focus on first: do you want to learn Linux first, or learn programming first? Trying to learn a new OS at the same time sounds like a recipe for disaster.

5

u/[deleted] Sep 22 '21

Yes

1

u/Wu_Fan Sep 23 '21

I’d like to interject if I may.

2

u/victorsl96 Sep 23 '21

You may

1

u/Wu_Fan Sep 23 '21

I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.

Edit: this is a meme

2

u/victorsl96 Sep 23 '21

I read the end first. Lol

3

u/muztaba Sep 22 '21

Yes, you should. Use the dual boot for gaming.

3

u/Dlcoates1 Sep 23 '21 edited Sep 23 '21

If you’re new to Linux, then I recommend these 2 options.

Option 1: Dual booting. This option means you get to keep your current os, all files, etc, and you’ll be able to choose your OS on system boot. The con to this is you can run out of storage on your drives fairly quickly, not to mention increased boot times even on an NVME.

Option 2 (recommended option): Get a raspberry pi. You’ll be able to load several Linux OS’s from either Debian/Ubuntu, to Arch Linux. Pros, well that’s self explanatory with a raspberry pi. Small size, light weight os’s, highly hackable and customizable, cheap, etc. And if you go for a pi4, either a 4gb or 8gb model is recommended, you’ll also get the ability to use 64 bit OS’s. The only cons are storage, speed, and graphics. It runs on an ARM processor. That being said it’s not insanely slow like a potato, but there is a notable difference between say a desktop/laptop compared to the pi. It uses micro SD cards as the storage for both os, and user files by default. There are options to add storage though. There’s the Argon M.2 case which allows you to add a SATA M.2 drive, there’s also the ability to use external HDD’s or SSD’s though via USB. As for graphics, well by default it only uses 128mb of gpu memory on the pi4. You can push this to 256, but any more than that and the OS won’t load. It will play games, just not really high end new games. Stuff like Doom 3, Quake, Terraria, Minecraft, etc run fine. Stuff like battlefield 3 and such won’t.

2

u/[deleted] Sep 22 '21

Because the whole OS can be used as an IDE.

You might need VM for some specific games with AC software or obscure relics. Otherwise it's somewhat hardware dependent, yet the results these days are quite good relatively speaking.

2

u/onthefence928 Sep 22 '21

start with dual-boot, get used to it. eventually you may end up using linux full time or only for code. you'll be able to try out the games you play and see if they work on linux too.

2

u/Maleficent-Age8670 Sep 22 '21

I don't do Coding, but I had been a Windows user since 1993 and have HAD IT with Microsoft's incompetent update process, so eight years ago I installed Linux Mint with the Mate desktop on a 2005 desktop PC, in January 2021 I installed Linux Mint with the Cinammon desktop on a 2009 MacBook, and recently installed Linux Ubuntu Mate with the Cupertino desktop on a 2014 Mac Mini -- and I thoughly enjoy Linux and will never look back. When I first decided to give Linux a try, I actually installed over 25 distros on that desktop to determine which one I preferred.

2

u/[deleted] Sep 23 '21

Switching to Linux, to me, was a mental state. I was mentally ready to switch to something other than windows and macOS, because I was tired of their shit, and tired of being used for their personal data mining. I was ready to switch, no matter the difficulties that may come with using Linux. You will have to give up some things you were used to on Windows. You will need to change your usual workflow, and get your hands dirty and learn new things. A lot of things will be new to you. Gaming won't be as great as it is on Windows, but it will work if you are willing to put in the work. You will have to make do with alternatives (that could be crappy or look crappy, but get the job done), BUT!!!! I loved all of this, because Linux is beautiful. The freedom is priceless to me. Privacy is, too. Your device is truly yours, and you can do whatever the fuck you want with it. No one will mine your personal data. No one will track your activities on your own PC. No one will ever tell you not to do something on your device or block your access to certain parts of your system(if they ever did, you can still do it.... because FOSS). Last but not least (and my apologies for the long response), Linux helped me be a part of a great community, a community where I can contribute to a massive project like GNU/Linux. Good luck, buddy. We are all here to help if you ever made the switch. :)

2

u/dev0urer Sep 23 '21

Long time distro-hopper here with plenty of Mac and Windows experience as well. The easy answer is yes, I think a switch to Linux is a great idea. Basically if you’re asking the question, the answer is yes.

Now keep in mind that most of Linux is going to take some work. If you’re not the kind of person that likes to tinker Linux is going to be a hellscape. Almost anything you want to do is going to be possible on Linux (even gaming has come an extremely long way to the point where I game almost exclusively on Linux now), but in some cases you may spend a day searching for the right configuration to get your specific program working.

I’d highly recommend a dual boot. Keep games and software that won’t run on Linux on your Windows drive, and everything that can run in Linux run there. Almost anything coming from Steam is going to run just fine on Linux thanks to Proton (I’ve been playing Splitgate and ESO and they both run amazingly well), and there are plenty of other programs that will run through Wine.

Hopefully this helps.

2

u/[deleted] Sep 23 '21

Yes. Is the best OS. Optimized by open source codes.

2

u/JohnnyBandito Sep 23 '21

On my gaming laptop, I added a third hard drive. On that third I dual boot PopOS with Windows. I game on windows and maybe a few other things on it. For coding and rest, Linux.

/r/Pop_OS

2

u/rreboto Sep 22 '21 edited Sep 23 '21

For whatever reason Linux struck a chord with me in college and I learned it on my own. Best career decision I ever made. YMMV, of course.

I would definitely encourage you to take a look.

Is it better for programming? I think so, but that depends on what you're programming. It's terrible for programming if you're making Windows applications. It's great for IoT programming, network programming, web application programming, distributed systems programming; I'd say it's great for most things that don't have a native dependency on Windows or Mac (or iOS or Android).

For gaming, most people dual boot. For games, boot to Windows. For everything else, boot into Linux. Edit: Okay, there are better options out there. Even if it's not for gaming, if you run into something that doesn't work on Linux, you can always boot back into Windows and when you're done go back to Linux.

Good luck!

1

u/BujuArena Sep 22 '21

Someone downvoted you because you said you have to dual-boot for games. That downvote was right. Most people don't dual boot just for gaming. Wine and proton are amazing and dual-booting isn't necessary any more. Linux allows you to play almost all games that don't bundle malware and actively prevent playing on non-malware operating systems.

I upvoted you though because you made a case for using Linux.

2

u/rreboto Sep 23 '21 edited Sep 23 '21

Thanks for the upvote; didn't know dual-boot wasn't needed for games.

2

u/[deleted] Sep 22 '21

For a beginner you don't need over bloated software like Visual Studio Enterprise that can barely run on mid-range PCs. This is what others said about the paid Microsoft programmers part. You can use Linux and FOSS tools and learn really quick and be productive.

Linux has built in compilers and runtimes that will make it faster for you to get started with your favourite IDEs and programming languages. On Windows, most of the times you shall go on Google and search for each runtime or compiler e.g. MinGW and risk getting malware as most malware sites looks ultra legit and the adware and keylogger toolbars are usually bundled in the official setup. On Linux haha sudo apt-get install codeblocks g++ -y go brrr.

Linux makes it faster and easier to get going with programming, and it's also way faster and you can code for more hours with no interruptions. Hours needed until you master your favourite programming language: 10000 hours, like with any skill.

Linux is customizable and you can have the comfort coding how you want it. Windows can't be customized and it's more and more unintuitive and bloated.

But if you really want to think you're an expert just because you use what Microsoft's employees are using... go on and spend 30 salaries on a high end PC that can run Visual Studio Enterprise smoothly without its modules like IntelliSense crashing when you type . because 16GB of DDR4 of RAM is still not enough for it and keep restarting the IDE, keep restarting Windows for updates, go on and experience slowness all of a sudden because background tasks are more important than the user space and so on... I'm too needed to use Windows from time to time and I made dual boot with Manjaro, but I can tell you Linux is truly better for coding and for browsing the Internet, should I also talk about privacy? The only thing Linux is weak at currently is gaming.

Also a lot of people recommend macOS for programming, that's good too, you're also using a fast OS designed well for working. It's the hardware that is overpriced but if you're going to make cross-platform programs and websites, a macbook is a valuable testing asset since testers in the field are very expensive.

1

u/[deleted] Sep 23 '21

On Linux haha sudo apt-get install codeblocks g++ -y go brrr

That deserved the award 😂

Love it.

2

u/imnotabotareyou Sep 22 '21

Yes don’t be a n00b

1

u/[deleted] Sep 22 '21

I do all of that stuff for more than a decade on Linux. I also do studio recording and video editing and for my needs its perfect.

But no idea about you. Why not just trying? It's free. Go get your hands on and see if it clicks.

1

u/[deleted] Sep 22 '21

There are games on Linux as well, you should be able to find new once.. Steam has an client, else there is SteamOS for a console, but i dont know what is best.

1

u/Will-VX Sep 22 '21

wine (a bit hard to get-working in the beginning but if you're persistent, or a bit curious at least) you can make e.g Crysis 3 (on GPU) (With High, at least - to High-Ultra (depends on the GPU and Setup of your system overall of course but) can be helpful to build it from source as well.

If you need help there's plenty on both YT and google (and of course, here in Reddit)

Good luck! Looking forward to seeing your choice!

1

u/[deleted] Sep 22 '21

For gaming it depends. If you play a lot of online stuff stick with Windows. If mostly offline Linux will likely be OK.

1

u/bobwmcgrath Sep 22 '21

There are a lot of reasons to prefer linux. I almost exclusively use it in a VM or remotely though. Some of the top reason I can think of are that it's free. I'm up to about 60 servers. I don't know what that would cost if they were running windows, but it adds up, and windows is not even really an option on my arm servers. Also expect to break everything, burn it all down and start over again pretty often. Linux is what everybody else uses and supports. Most tutorials will only cover linux, and almost nothing will only cover windows. But my daily driver is still windows. It just doesn't run any of the code I write directly. I barely even know how I would do that if I wanted to. At the end of the day, all my mice and keyboards and drivers work, so there's room for both things is what I'm saying. However I would like to move to something a little more privacy oriented to keep big brother out of my business.

1

u/Frazzled24 Sep 22 '21

I’d say try in a virtual machine mess with what distribution you like the feel of (look doesn’t matter as you can customise it) but when it comes to installing it fully do a dual boot if you intend to play games on windows as running windows in a vm for gaming isn’t a great idea unless you can dedicate lots of resources to and maybe do a gpu pass through to the vm but it’s easier to just dual boot then customise GRUB so you can easily select OS on boot

1

u/NoLightsInLondo Sep 22 '21

Whether or not you should switch to Linux is something you have to decide for yourself. From personal experience I can tell you I wish I had switched sooner. Programming wise it's... it's just another platform, honestly. Some things will be nicer than on Windows, and vice versa. Linux isn't magical, but it might be a bit more sane at times.

1

u/IMayBeLost_ButImHere Sep 22 '21

Just dual boot for gaming in windows, yes gaming is getting better in Linux, but is still a much better experience imo on windows.

Honestly, I really love the separation of work and play, and it works really well for my productivity. If I want to game I have to make the conscious decision to restart my pc and boot into windows.

If you end up dual booting still get either VMware(has been better for me with windows guests) or virtualbox running, because it's nice to test programs that perform file operations without risking your actual files. (Unless someone knows a better way of doing this)

1

u/[deleted] Sep 22 '21

I used Windows almost my whole life, but as soon as I started programing i left windows, installing certain libraries, servers, etc, everything was easier on linux

1

u/swordgeek Sep 22 '21

Sure. If you want to.

1

u/Nurgus Sep 22 '21

I prefer Linux but each to their own. Try a Linux VM for your programming activities, it's probably easier than a Windows gaming VM.

1

u/[deleted] Sep 22 '21

I recently setup my gaming rig to dual boot the games I can't run on Linux. So far it's 2 games which have Client sided anti cheat.

I'm amazed how many games just run flawless with proton.

I have however setup a windows vm for work related stuff, looking into cheap but good host gpus for pass-through right now because I have a 2070 super I want to pass through.

1

u/Tee11111 Sep 22 '21

It depends on several things including what games you play and what languages you want to learn.

1

u/SerLizar Sep 22 '21

If you are going to learn C/C++, having Linux will make your life a lot easier, and in general development tools are made for Linux originally (talking about compilers and such). Also learning to use the command line will be a great asset, while you can change many things using the GUI this days, some things are still easier using the command line and editing configuration files.

1

u/[deleted] Sep 23 '21

I enjoy using linux quite a bit, and will always have my main PC running linux. However, I think that Apple makes the best laptops, and will be switching to Macbook once I can afford it.

1

u/drdnghts Sep 23 '21

Yes.

👆 Opinion of a computer science graduate who is now a software engineer at an academic institute.

1

u/emptyskoll Sep 23 '21 edited Sep 23 '23

I've left Reddit because it does not respect its users or their privacy. Private companies can't be trusted with control over public communities. Lemmy is an open source, federated alternative that I highly recommend if you want a more private and ethical option. Join Lemmy here: https://join-lemmy.org/instances this message was mass deleted/edited with redact.dev

1

u/FGaBoX_ Sep 23 '21

Dual boot your pc, windows for gaming and linux for everything else

1

u/jjanel Sep 23 '21

Grab an OSboxes.org/<distro> to try on your existing M$Win10

Linux IS better for programming anything (other than M$Win apps).

1

u/[deleted] Sep 23 '21

If you're concerned about gaming and you use only steam you should look at protondb, most of the games run well on Linux

1

u/[deleted] Sep 23 '21

Probably do the other way around. Install Linux on a VM and program there at first. If you fall in love with it then figure out how to dual boot

1

u/magicaner Sep 23 '21

I have both of them. Booting the linux when I need to do development work. Booting windows when I need play games or other staff.

But, due to such setup, I found myself not booting windows for long time already. I think it is because I prefer keep things running all the time. I never switching off my workstation. Thinking about having second pc designed especially for entertainment.

1

u/p4r24k Sep 23 '21

GNU/Linux is the only operative system. Period.

1

u/PRR1499 Sep 23 '21

Linux is on more machines today, right now, in use, then if you added all the machine with windows ever made starting with windows 3, so figure it out. Linuix is gaining on windows in the gaming world today also, with steam support for linux.

1

u/AlexAegis Sep 23 '21

If you're still using windows features heavily I would advise just using WSL for development. That will get you used to it.

1

u/linuxpaul Sep 23 '21

I am a professional programmer for the last 38 years. I LOVE linux. I'm on Zorin Linux right now. I love LInux it's so stable. A LOT of servers are running linux.

1

u/Kwame_Brown_GOAT Sep 23 '21

Linux isnt good for programming in and of itself. Programmers just use it more often since theyre likely tech savvy enough not to be scared of running commands in a terminal.

Its also very freeing and allows you to fly and do crazy things with it, whereas windows kind of locks you in the nest saying "no no dont do that" like an overprotective parent.

If you like windows better, use windows. But if you try linux and realize you love it more, welcome to the club pal.

1

u/Kek-Jong-Un Sep 23 '21

Dual booting would still be an option for games that don't run on linux (thats how i did it)

1

u/Fluffy_Box_3974 Sep 23 '21

I switched to linux, regretted it the very first week

1

u/[deleted] Sep 23 '21

The question here is "why do i want linux?" Your OS is a choice you make based on your needs. Windows is not better than linux and linux is not better than windows. If you want just to get familiar with linux you can set up a virtual machine with linux inside

1

u/FlaredAverage Sep 23 '21

if youre willing to deal with its quirks from time to time WSL2 is a better experience for LinOnWin then vms

1

u/Bob4Not CachyOS & Fedora KDE Sep 23 '21

Pop_OS is good if you have an NVIDIA GPU. Between Steam’s Proton and Lutris, I’m not worried about a VM with GPU pass through anymore. The only way you’ll need a VM is for the games with anti cheat like rainbow six siege. But at that point, I just leave windows on a second hard drive I can boot from on edge cases.

1

u/kaaluin Sep 23 '21

I’m a 17 years Linux user and 17 years developer. I also game on Linux. Everithing can be done on linux with some compromises and also on Windows. It mostly depends what programming languages you use and what games you play. You should use a VM to learn some basics and basic setups.

1

u/Suitable-Yam7028 Sep 23 '21

Some games are playable on linux, check about the ones you play to see if they are supported. I switched to Linux in uni because my laptop was slow under windows. I didn't have any experience basically with Linux I had never worked with terminal etc. With that being said I didn't find it hard to adapt if was a bit weird but with Google and forums it's not that hard. Ones you get it to run on your PC once you just Google some things from Time to time, like how to install certain software for example. My first distro was Ubuntu. I have tried a few others along the way like Manjaro and I am currently on pop OS. I think as long as you don't start off with arch which as far as I know is tricky to install and more likely to break(never tried it so don't take my word for it) you won't find it too difficult. I now even prefer doing a lot of things through the terminal and at work I only use the terminal. You can also look into dual boot so you can keep your games on windows and use Linux for your work. I have also seen programmers use virtual machines for their work so you can also chech that, there was one YouTuber doing something like that.

1

u/Wu_Fan Sep 23 '21

Buy an old old lenovo

Stick Ubuntu on it

Try and break it

1

u/onyk87 Oct 12 '21

It’s best for now just dual boot your PC with a Linux OS so that you can just boot into windows whenever you want to play games. There are still a lot of games that you won’t be able to play on Linux.

1

u/3gw3rsresrs Dec 21 '21

I use VMWare for Windows for Ubuntu. Use version 15, if you use dual monitors as the version 16 is has bugs. Or use VirtualBox, which is however slower than VMWare.

You will a couple of times a year run into hard to solve problems with Windows when programming on it. Not even google will help you. So, I recommend using Linux for programming.

1

u/MoistPause Sep 22 '21 edited Sep 22 '21

Using Linux for coding has some benefits.

First of all I guarantee you that as a software developer sooner or later you will need some knowledge about Linux just because it's used everywhere. Whether it'll be writing bash script for something or maybe just how to navigate around it and do some basic operations like copying or moving files in terminal as this is quite often when working with severs. By using Linux daily you learn these skills naturally which makes your work faster as you don't need to Google every 5 seconds how to this and that in Linux.

Secondly you can configure everything to your liking to make your dev work faster and more efficient. Keyshortcuts for the win. Who likes to use mouse when writing code? I know I don't and I find that with Linux I can keep my hands on the keyboard quite long before I need to use mouse. I won't get into details but coming from windows I was quite surprised that I could set a shortcut for a lot of things.

Lastly I thinks it's a great learning experience in general for a software developer. With Linux you get to learn more about computers than with other operating systems.

As for the gaming it depends on games you play. Linux is not that bad at running games but it's still not on the level of windows. A lot of games work perfect using steam proton or they need some minor tweaking. Very little games work natively (fuck you game devs). Just for the piece of mind I suggest dual boot setup. Linux for dev and regular PC usage and windows strictly for gaming.

EDIT: I forgot to add that no matter what operating system you choose you should be fine with coding itself as long as it's not legacy .net framework or some Mac os technology. They don't work on every OS. Other things (used in majority) work fine on any platform.

1

u/mvdw73 Sep 22 '21

Why not try wsl? That’s a pretty good coding environment

1

u/DarthCynisus Sep 23 '21

I use Linux Mint as my daily driver, but one big reason I may go back to the Windows/WSL setup is the dumpster fire that is Linux Bluetooth headphone (including microphone) support. You either get decent quality audio, or microphone support, but not both, when you are conferencing using Bluetooth headphones. If a decent part of your job involves Zoom/Teams/etc. conferencing, it's painful. I've ended up using a USB DAC with Bluetooth support which works *most of the time*, but not always. Your other workaround is to use wired headphones.

If your development does not involve writing Linux GUI applications, WSL2 is pretty nice. If your are going to host your application using containers, the OS becomes even less of an issue. You can certainly use WSL to develop your Linux chops, and then switch later.

The reason I stay on Linux is fast boot times, a much leaner OS experience (less crap running in the background) and much better security by default. But I do miss some of the creature comforts like having Bluetooth mic'd headphones that "just work", robust gaming support and device interoperability (I sometimes have to do development for manufacturing equipment for which Linux drivers are not readily available, and in these cases, I have Windows I can run in VM, which works well enough)

1

u/nokeldin42 Sep 23 '21

WSL remains my default suggestion for everyone wanting to code on windows. Install the vscode remote wsl extension on it and it's as good as it gets. Don't have to deal with windows command line at all. In fact, you almost entirely bypass windows as far as coding is concerned. If you really need the linux GUI, that's also doable by using VNC viewer or similar.

1

u/ClittoryHinton Sep 23 '21

Yeah honestly don’t really see why people dual boot these days when WSL is so functional, unless you really want to nerd out about the OS stuff

-3

u/Spicy_Poo Sep 22 '21

If you have to ask then the answer is probably "no."

If you don't have the desire to just try it and see how it is, then just stick to what you know.

3

u/BujuArena Sep 22 '21

I disagree. I think it's the opposite. If someone has enough interest to ask, the answer is more likely "yes", because it's easy to switch and extremely beneficial for one's whole life, especially if they use a computer every day, or even every few days.

0

u/JustMrNic3 Sep 22 '21

Yes !

I recommend:

Kubuntu OS

Kdevelop IDE

OpenSnitch application firewall

Steam and Lutris for gaming

-3

u/wespam0987 Sep 22 '21

Coding is editing text to make a computer do what you want. Therefore you should pick a system that you are most interested in. And for those idiots, there are numerous flavors of linux so you would do better asking youtube or dual booting :)

2

u/[deleted] Sep 23 '21

it changes by OS because of:

1. Different productivity. 

2. Different availability of tools. 

3. The way to install those tools on some operating systems, which may be more intuitive.

1

u/wespam0987 Sep 28 '21

True, you never want to pick that OS that has a limited set of tool. Many of the recent Ubuntu versions have enough to start programming but most Ubuntu systems only come with Python built in and require the users to download and install any other preferred languages.

-1

u/stufforstuff Sep 22 '21

Why don't you ask the 50 million plus PAID Microsoft programmers if they think Linux is better. Linux is free - if that means "better" to you then go for it. If you're not afraid to pay for your professional tools then windows is a better platform.

-1

u/valtaust1993 Sep 22 '21

A lot of companies use Mac OS which is unix based so can run linux type of commands with the elegant GUI of the Mac OS. If you can afford a MAC or there is a free old mac VM try it out. I would like to know if there is a VM for MacOS that is open source for everyone haha. Big brother send me a big mac.

1

u/DonkeyTron42 Sep 22 '21

MacOS is BSD based which is not Unix (at least not since 1994).

-2

u/the88shrimp Sep 22 '21

Unless you're really trying to shave down compilation time by using a system with less overhead there's really no differences programming in Linux or Windows. You use a text editor of your choice and your code.

2

u/rydoca Sep 22 '21

The tooling is pretty different to be fair. Package managers are amazing and you have to jump through a lot less hoops in general under Linux. One good example is installing opencl libraries under windows for amd gpus vs linux. It's night and day

0

u/[deleted] Sep 22 '21

[deleted]

7

u/rydoca Sep 22 '21

Keep in mind if you have hardware on the weaker side there will often be a noticeable performance difference, to be fair sometimes things run better but in my experience almost always worse and I feel people downplay it far to often In my opinion dual booting is the way to go but I recognize it's a pain

0

u/[deleted] Sep 22 '21

[deleted]

1

u/Wu_Fan Sep 23 '21

Yes buy a $75 ancient Lenovo flex or something mine runs a certain rolling distro very well indeed btw

104

u/[deleted] Sep 22 '21

[removed] — view removed comment

41

u/victorsl96 Sep 22 '21

I think I'll set up a VM to try it out

33

u/Vitadek_Gaming Sep 22 '21

If you have an extra hard drive (or sdd) laying around it would be better. Just a better experience imo. It's hard for me to optimize non-baremetal vms. Especially with fully utilizing video card capabilities.

Or if you can partition a disk drive too.

0

u/[deleted] Sep 22 '21

[deleted]

2

u/Vitadek_Gaming Sep 23 '21

Even then, it's not gonna be "snappy" if you're putting Linux in a vm, no matter how beefy your computer.

5

u/[deleted] Sep 23 '21

You can use pci passthrough to get basically raw metal performance. It can be tricky to set up and requires two GPUs and two monitors, but it can let you play on either windows or Linux.

3

u/zoharel Sep 23 '21

Even then, it's not gonna be "snappy" if you're putting Linux in a vm, no matter how beefy your computer.

Strange you should say that, since I find my Linux VMs to be perfectly snappy. I suppose it will depend on what, exactly, you expect from the video system in particular.

2

u/Vitadek_Gaming Sep 23 '21

I need to pick your brain on how you set up your vm's. Has to be a failure on my part. What do you use?

2

u/zoharel Sep 24 '21

Libvirt/qemu/kvm at the moment, though I've also had not quite as much luck with virtualbox.

1

u/Vitadek_Gaming Sep 24 '21

I might try that, I've only done vbox and VMware - it's just easier for me since I know how to do it already, but I don't get the best performance. I'll try qemu one of these days.

2

u/zoharel Sep 24 '21

As I said, virtualbox does work, but anecdotally, I don't think it does quite as well. That said, raw kvm needs a good bit more configuration.

→ More replies (0)

9

u/Agent-BTZ Sep 22 '21

If I were you, I’d consider making a bootable USB with a Linux distro on it as opposed to a virtual machine. It may make your life a little easier

2

u/TheMadLad6905 Sep 23 '21

And if you (OP) want to keep Windows, there's Ventoy (given that you already have your own official Windows 10 ISO)

1

u/Vampylettuce Sep 23 '21

This. While I was in college for computer science, I used a bootable usb with several different distros. I ended up switching since most of my classes used Linux and it is very handy to have knowledge of Linux for programming jobs.

3

u/Andernerd Sep 22 '21

Okay. Just make sure to go in with the expectation that you won't have GPU acceleration in your VM without going through a lot of work, so things like desktop animations may lag and things like games probably wont' work at all.

0

u/[deleted] Sep 22 '21

[deleted]

2

u/Andernerd Sep 23 '21

Who?

2

u/[deleted] Sep 23 '21

Mutahar

8

u/JND__ Sep 22 '21

That's probably the best way to try it.

1

u/ILikeToBuildShit Sep 23 '21

Definitely a good first step, why not if you have some hard drive space! I do most of my programming in a linux VM, like doing assignments and noodling around, but I do I have a standalone install I use I’m doing something intense. Why not both lol

1

u/impactedturd Sep 23 '21

You can also try WSL which will run linux natively in Windows. I haven't tried it yet though but I heard good things about it.