Why I Code on Linux Instead of Windows
VloĆŸit
- Äas pĆidĂĄn 1. 06. 2024
- Go to privacy.com/forrest to get $5 and secure your online purchases!
Why do I code on Linux instead of Windows? Why is Linux better than Windows? Well, let's talk about the benefits Linux has over Windows, and why I use it as a programmer.
------------------------
đ±âđ GitHub: github.com/forrestknight
đ„ Twitch: / forrestknight
đŠ Twitter: / forrestpknight
đž Instagram: / forrestpknight
đšâđ» My Coding Gear:
My NAS Server: amzn.to/3brqO7b
My Hard Drives: amzn.to/3aKetMi
My Main Monitor: amzn.to/3siQfPa
My Second Monitor: amzn.to/3keHT84
My Standing Desk: amzn.to/3boAcbC
My PC Build: bit.ly/my-coding-gear
My AI GPU: amzn.to/3uvmUmz
đ Learning Resources:
My Favorite Machine Learning Course: imp.i384100.net/YgYEBJ
Open Source Computer Science Degree: bit.ly/open-source-forrest
Python Open Source Computer Science Degree: bit.ly/python-open-source
Udacity to Learn Any Coding Skill: bit.ly/udacity-forrest
đ§Coding Tools:
The Best Linux Server Hosting: bit.ly/linode-forrest
đ„ Dev Notes Newsletter đwww.devnotesdaily.com/
đ Studious, Notion Template for Students đnotionstudent.com (limited time discount added at checkout)
I tried to move to Ubuntu about 7 times, each time it was the latest version. Each time I had a problem with my audio card, I had to fix this problem each time, and even after fixing it was returned after an upgrade. It was a well-known problem. The last time I tried Linux they finally fixed that bug, but then other bugs came out (I don't remember now what exactly it was, it was many years ago). After I got my first fulltime job, I just switched to windows and then mac - because it just works. The main problem of Linux - it just takes more time than saves.
How do you know somebody uses Arch?
- He's gonna tell you. ;-)
How well they have to hold there hand when installing packages. They depend on some one to write a script for ? pacman. Well when your custom arch is broke up to you to hold your own hand. That said they have a fine well kept wiki. And benefits the whole community. "Slackers use Linux" Arch uses pacman. when it breaks your broke. So then leaves you to learn Linux like Slackware. So many Arch users that wanted complete control finally learned Linux by using Slackware. Thank you Arch.
@@nymusicman Since I use Ubuntu, no update has broke my machine EVER! ;-)
@@10cu7u5 I unfortunately cannot say the same. I like to use the newest versions of software so my Ubuntu became ppa hell and lots of updates broke my system. I'm also very happy to have moved on to a rolling release system because those version updates sucked.
@@nymusicman "I like to use the newest versions of software" - and that is your problem, right there.
I use arch btw and gen too
Me: Installs Linux
Also me: Installs Visual Studio Code
Don't get it.
@@Hsa008 vs code is owned by microsoft
@@TheSnHIMshow ok, thanks.
@dump lump lol
@dump lump don't get fast at coding then
Him: I prefer privacy
Also him: *uses chrome*
đ
comfort > privacy
Exactly. I mean Brave is even Chromium-based, I'll never get why people just won't use it, makes no sense
@@massgrave8x i use Brave, it's actually superior to chrome because it has a built-in adblocker and many other features. we should all switch to this browser
he just uses it for debug only !
Six months ago I decided to try dual booting just out of curiosity. I'm studying software engineering and I thought I should at least know my way around Linux. Two days ago I completely moved to Linux because I just fell in love. No more windows for me, thank you very much.
oh lololol.
I heard Linux gives Better battery life
@@1RRaider "bett" ???
@@yash1152 I mean Better
@@1RRaider it does!! I switched to linux on my old junky refurbished laptop and it TRIPLED the battery life. Literally all I did was wipe windows and install linux mint. Also greatly increased the loading speed for apps and websites. You heard correctly!
Windows: requires patience
Mac: requires đ°đ°
Linux: Requires Skills
not actually, with windows you need more skill.
Except that Linux doesnât require skill
Mac: requires absence of brain đ€Ș
@@user-jn1px7rp3h what the fuck xD
@@PsycosisIncarnated because linux have many pre-configured and working out of the box things, so that's why I prefer linux.
With windows you need to dance around.
"privacy" *uses chrome*
Tbf, if you do web development, Chrome is probably a little easier to work with.
Altought, i am team firefox
â@@Kosin-gf7ioTails?
@@Kosin-gf7ioprivacy and anonymity are different. You can have much better privacy than chrome.
@@no_name4796ungoogled chromium
Chromium or chrome? Chromium on Linux is open source. They are not harvesting your private data.
I prefer linux over windows, but while I used windows, I did find that you could completely disable all tracking and telemetry through the registry, which can be confusing and daunting if you don't know how the registry works, so its just easier to run Linux on your system, personally Manjaro is my favorite distro
@@micahturpin8042 You ever try DWM? Much more customizable and lightweight compared to i3
Also watching this on manjaro, is an impressing distro compared to what i used, also kde is super customizable, i just love it.
manjaro too here, although while id like to switch to endeavour at some point for a closer arch experience (or even just plain arch if i work up the confidence) i find using pamac in the terminal way more intuitive than default pacman, idk i think i could probably install it on endeavour if i tried, but so far havent experienced anything that is gonna make me switch with any rush
Eeeeh, "completely" is pretty bloody dubious; you can mitigate it, lets not oversell things here
As a game/game engine developer I write 90% of my code on windows and run wsl to make sure itâs cross platform and works on linux as well.
Windows is almost always the target platform as a game developer. Visual studio and itâs set of tools is pretty much the industry standard.
That being said when I used to do web dev I worked exclusively on linux. Itâs just so much faster to do everything from a console and itâs usually simpler too.
Point is, donât force yourself to use any platform because you âknowâ itâs better. Use the right one for the job.
i wanna switch from windows to linux for web dev, but idk what distro to use. can you tell me one?
Any distro will do the job, since yhe main difference between them tends to be the windows manager, ehich you can install yourself. If you want the easy route work with a debian based distro (ubuntu, mint, popOs, etc) since the support for default packages (.deb) tends to be bigger. If you want full control use Arch or arch based. You will have almost anything in the official repo (with pacman) and virtually everything in the AUR. I don't know much about the redhat based route, but it also an option
@@vuejsdev Recently I tried Fedora on a laptop just to see what it was like, and it's a really good mix of stable but not outdated packages so I'd definitely give that a try
Man's looking like Gilfoyle from the silicon valley show with the long hair and beard.
Gilfoyle was the coolest one
Show was so fucking good. They should have done everything to keep TJ Miller though.
Agreed lol
Yes
Could you specify more I'm not exactly sure who you mean? /S
Never heard of Windows.
jk, We have Windows here in the wall :p
Never heard of Gnome.
jk, there's one on the lawn ;)
Never heard of Linux
jk, there's a penguin outside my window watching my every move with murderous intent :p
so funny guys..
nerd-talks
@@mnipritom lol
Anyone heard of apple?
Watching on my Linux Mint 20 desktop right now. Also, bought a Raspberry Pi so I run the Raspberry version there too. As a regular desktop it has been my main OS for 5 years now. I have resurrected several older machines to make them useful again with some lighter distro's as well.
As a beginner going through the odin project, they require Linux for the program and I've found it to be absolutely amazing
I decided to buy an Dell Ubuntu laptop because of Odin. Never going back to Windows and I was a Microsoft Systems Engineer. If you are doing web development I cannot imagine why you would use Windows, it is a such a pain.
"Why do you code on Linux?"
Me: why would i code on anything else?
@@karanvora2674 i am on dual boot macOS 11.2.3 and Arch, on my Dell laptop. I must say it i feel very confortable with brew and iterm2 + some oh-myzsh powerlevl9k customisation is very pleasant in macOS
@MÎX not really BSD. Apple took userland tools from Net and FreeBSD, that's about it. The kernel is a mix of Mach, stuff done at NeXT and several other places. It really is a mix bag of various different Unix and Unix-like systems
because there are other viable options that are successfully being used by millions of developers every day? Cringe.
@@jamesevans2507 The point of the post is that Linux is what works best for *me*, James.
I don't know man, VS is not available on Linux, and it's more comfy than VS Code.
Thank you Bertram Gilfoyle!
Thats his name?
â@@inuraedirisinghe9559 Nope, He looks like a fictional character "TV show called Silicon Valley" Gilfoyle Played by Martin Starr.
@@inuraedirisinghe9559 His name is Forrest Knight
@@alwinjohn I know, thats his socail media name!
LMAO I also thought that he looks like Gilfoyle
"Why I code on Linux"
>list of reasons that have nothing to do with coding
I still prefer windows. Mainly because that's what i'm used to and it works well for me. I'm more concerned about being able to be productive quickly. I find that with linux/macos I get caught up in details all the time that lower my productivity. I guess if I gave it some time i'd get used to that and learn to work around it, but why bother when windows works fine.
With Linux you can do what you want, there is no productivity loss
@@juuamjskn2420 I can already do what I want with windows. But if I want to do the same thing on linux I first need to figure out how that works in linux. Which is a productivity loss, at least initially.
Just started using Linux, its kinda like Christmas as a child trying all the various distros you dont know which one to open next
Now I like the comparison! But rather just stay with one distro as distro hoppers tend to have a bad experience. Not saying it would be for your case! But in general you don't win anything if you move around too much. Try out couple and use the one you like most!
But I hope you stay on Linux side! It's great having people around rather than just not too many and have this closed circle of people with similar experience.
It is all about personal preference.
Please!
I repeat Please!
Stick with your distro
Do not distro hop
It'll ruin your experience with Linux and would just leave a bad taste in your mouth.
Also the main reason for hopping is just the different desktop environment.
But the thing is, you can get any desktop experience you want on your distro. Just dig a bit deeper and you can have anything.
@@muhammadnaqi1220 I disagree. Especially if you partition your home, boot, and root directories I think installing different distributions is a great way to learn linux and the different ways that linux can exist with different configuration philosophies.
Also, distributions are often much more than just a different desktop environment. Different distributions have different ways of installing programs, different ways of configuring your system, different methods of package managment (and obviously different software repositories). These are all decisions that are made by the design philosophies of distribution maintainers, and as a result you can learn a lot by experiencing the differences. Do you really think all these different distributions exist only because they want to distribute a different desktop environment? Of course not, that would be absurd. Its much more complicated than that.
For example, the largest difference between most distributions, is the software repositories. Sure, a lot of these repositories overlap among distributions (i.e. aptitude on Debian based distrubitions, such as ubuntu; yum on redhat distributions; and pacman on arch based distributions, such as manjaro)--but that's only because maintaining these repositories is an enormous endeavor. In fact, I'm not even sure how to go about installing a package manager from a different "family" of distributions even though I suspect it probably is possible (with a lot of work).
While I tend to agree that distributions "don't matter," I also don't think its bad at all to distro hop as you can learn a ton by do so, and you don't even have to lose all your customization by simply partitioning your /home directory on its on partition and mount it on every distribution you install.
The whole point of linux is that your computer is yours that you can do what you want with it. Part of being able to do what you want with it is learning the different ways linux can be put together, and distro hopping is a good way to dip your toe in that water without building Linux from scratch.
Try different distros then pick one you comfortable the most.
When the games become really stable on linux, or actually coded for it, then it will be a very very bad news for windows
Some games run faster on Wine because the translated linux API calls are faster than windows native API calls lol
I don't want to ruin it for you, but it wont happen... I also had the same idea about 15 years ago, and still here we are, not much changed
Even worse news for windows would be if Affinity would start working on Linux
@@czhunor Not much has changed? The hell are you talking about?
I wasn't around 15 years ago, so I can't say for sure - but if you don't think that Wine and Proton have made huge strides in even the past couple of years, you're crazy
@@magnusanderson6681 Huge strides, yes. Supposedly 30% of Steam games now I hear, but the first two I tried flat out wouldn't launch. Maybe I could get them to work with a few hours of troubleshooting... Or I could just boot into Windows where 100% of my games work without having to make a huge project out of it. So yes, things are getting better, but there's still a long long way to go. Maybe I'll be gaming on Linux when I'm in a retirement home.
I'm slowly starting to realize the benefits of programming in Linux. Gcc and G++ come by default, they are a pain to install on Windows, and programming UART communication in an app is also much more straight forward, not to mention you can open a serial port on the command line with a simple command.
not to mention the ease of using clang, make, multithreading building & compiling in Linux and packages all at your disposal
For me itâs the tiling managers
You canât switch between windows with keyboard and the mouse follow out the box with windows
Linux you can just use hyprland and you got a really nice smooth tiling manager and just learn the Firefox, terminal keyboard shortcuts and then you will start going fast
I use yabai on Mac OS and when you add another window I have to drag it into the workspace with the mouse then hit my hotkeys to automatically arrange the windows
In hyprland I just open the window and it automatically gets arranged into the workspace
Why use Gcc when you can use msvc
Switch fairly recently. Mostly been tinkering with code on windows. After switching things are simpler. Yes, I have had to adjust to learning commands that does what I want. But after a learning a few commands it's pretty straightforward.
*TLDW*
- Privacy (also telemetries not hogging the system)
- Customizability (build it for yourself)
- "Terminal" (rather the command line package manager and bash)
These donât factor into my coding very much tho.
@@dokols Exactly. These people are just like Apple - Retelling how they're introducing something that is present in other platforms for years and terming it 'revolutionary'.
not using a spell checker, "Customizability" ;-)
@@dokols lol was thinking exactly this
This is not a TLDW at all. I don't know why so many upvoted this lol
I use arch btw
Manjaro here â
Arch Linux users are like vegans. All the time want to shout to the world what they are.
@@arthasmenethil2201 or it's just for the memes.
@@arthasmenethil2201 The vegans say that because they also want other people to stop eating meat. I am not vegan but I understand their reasoning. After all if you think it is murder why wouldn't you try to stop murder?
@@lakrinmex8132 my choice, same as my choise for OS. When other people tell me "oHHhH use Linux" im just getting annoyed because they sound like a cult that dont respect my choise for OS. Same as with the vegans, their cult mentality is repulsive.
thanks bro, have both systems running but wasnt sure which to start a new big project.
Hi ForrestKnight,
Thanks for a helpful video tips about the OS to for the programming. Keep up the good work.
I am just into the programming industry, and been studying for a year now.
I am learning new things everyday, however during the study I came across to an issue about using which operating system is better. I know now that Linux is one of the best if not the best platform to learn how to code for both study and work.
I am now a Windows user, and I am looking for ways to install the Ubuntu OS in my Windows system, but then I saw another video. It is said that installing the Ubuntu as a secondary OS or dual boot to the same computer isn't that good as there will be problematic later in the future. With another video suggested that having the Ubuntu OS installed separately to an external SSD drive and make portable is the best way to do, however I am still a bit in doubt weather which options should I go for in terms of the OS installation.
Could your perhaps give me an advice on this?
Much appreciated.
I am a Computer Science/Cyber Security 2nd year student. I have recently for the past maybe 6 months used linux and learned more about it I have a dual boot of windows 11 and Pop Os which is Ubuntu based distro and there are no issues regarding what you mentioned. Living in a place where having an unstable and slow internet connection linux has really helped me bypass this issue by making downloads much easier as well as the security and privacy factors, not to mention increased productivity. I have also used Linux Mint, Kali Linux and Fedora in the past. I really encourage you to dual boot linux if you're still not sure about leaving windows yet and I assure you with time you'll slowly move into linux until completely leaving windows for good.
The only valid argument is, the package manager. Bash is available on Windows and works well -- coming from someone who's been using Linux since 0.99 release! Working in WSL2 is like working on Linux to be. And putty is brilliant, by far the best terminal program ever, and I coded a whole C++ socket server for a medication order picking robot in vi (not vim) through putty working on a SCO machine of our client.
The reason why I use linux to code, is ease of us. My compilers g++, gcc, clang-* are just there when I install the developer suite. And when I need Cmake or some obscure development library a single line will do. But when you do anything other than C/C++ it doesn't make a difference. Especially when you are on JAVA or JS or PYTHON which have their own package managers.
Winget (or scoop for more portability) also is pretty decent as a package manager. I personally also actually prefer Powershell to Bash and similar shells on Linux (I like that everything is an object and that I have the option to use explicit names following a common naming convention). Windows terminal is one of the best terminals on any OS. And powertoys in general has a lot of great features.
There's lots of stuff really annoying about Windows (like telemetry), but it is entirely possible to get rid of everything that annoys me. This requires some effort (often involving the registry), but so does setting up and customizing a Linux install to my liking.
I think if I had a Laptop with better Linux compatibility and if Gaming compatibility gets as good as on Windows (as might very well happen thanks to steam deck), I might in the future switch to something like NixOS (as it actually is different enough from Windows that entirely new stuff is possible that wasn't possible / as easy on Windows (or most other Linux distributions)).
[2nd!]
Also, Trying out The Open Source Computer Science
The first 2 Weeks with CS50 Been Awesome!
(Yes, I Saw Bill Gates With Linux PC ;) 4:09)
I somewhat agree with you on many points but... I've been using Linux (and Windows) almost 25 years and until recently couldn't find a Linux distro that was ever reliable for more than a few months until something flaked out on it and had to be reinstalled. I am currently doing all my development on MXlInux and it's going quite well. During that time I've found Windows to actually be more reliable. I may have gotten a BSOD once in a while but at least then you know what happened. In Linux if it crashes hard the whole machine just locks up and you don't even know why... I am running VS Code and JetBrains IDE's and they both run equally well on both systems. I only use Windows now on another machine for running DAW software and other audio related stuff.
Jetbrains IDEs are absurdly powerful. I use them too
My experience is almost word for word the same.
@ćç°ăăąăč tried Fedora many times since it first was called Fedora and Redhat before that too. I have the latest on a VM.
True, tried Ubuntu 22 against Windows 11, both are crap, but at least windows works with everything it promises it does and I never had to reinstall it or deal with a random crash without any feedback message, I even tried going back to Ubuntu 20, of course, the run was much better, but it just took +3 months to start having problems too, while my public beta-test (a.k.a. Windows 11) had a smoother experience all the time (I still hate that drag to taskbar was removed)
I agreed with most of this video except of the WSL2.0 part. I'm a very heavy terminal user and to be honest, Windows Terminal is a fucking Godsend to me. It IS linux, even allows me to install my choice of distro's, Ubuntu, Kali, it doesn't care. It's a terminal, and it saves my preferences in a JSON. This allows me to install shit on top of it such as StarShip, to make it look pretty, nice fonts because I'm not a fucking heathen working on terminal, I'm a human and I'd also like nice fonts thank you very much. Microsoft has gone to insane lengths with WSL and Windows Terminal to make all of that a reality, and for me it is, it really is. Sure, you need to do some work, but they do enable you to customise it to your likings, powerfont and glyps and the whole shit, you just need to take the time to do it, and then, in my professional opinion, there is no reason anymore to go for a macbook OR a full linux machine, Windows has it all built inside and on top of it, you can get a 100% functional linux terminal (even better if you go to town styling it) experience wihin windows using WSL2.0 and Windows Terminal.
My two cents.
I actually have had linux crash on me and take a whole day to fix. Every time though, it has been because of complications with the NVidia driver which is not open sourced. Each time I've learned more about backups and saving my files somewhere secure so that when I do need to roll back or start over from scratch, it is less catastrophic.
If you're running linux with an NVidia driver, especially if you're asking it to do CUDA programming and handle multiple displays at the same time, LEARN HOW TO USE BACKUPS!!!
As Linus Torvalds once said...
"Nvidia, fuck you!"
That's some real wise advice, hahaha
@@mrkansas Lol. Wish I'd take my own advise more often. I should have added that learning how to use backups is great, testing and validating backups is even better.
Bruh I been thru the same shit stuck on windows for now lol
Did you know you can re-install Linux and use the same "home" folder? I did that after I managed to crash my system playing around with stuff and retained all my files.
Just do a custom install and select the previous home partition as the new home partition and use the same username. (Works on Ubuntu at least)
I like your channel. I'm an old person (31 lol) switching careers and have a year or so left on my CS degree. It's nice to get a perspective from someone who's reasonable and in the field. Thanks.
Damn I just turned 39 yesterday and I start school in a couple of days for Cyber Security. I have a good 25 years left. lol
@@jasonstorm5726 You're both young enough to legally be my sons. Thanks for reminding me but good luck with the cyber-security career. Next year, I celebrate 4 decades as a "techie" in telecoms, then IT, and for the past 12 years, cyber-security. I get to harden Linux servers and I get paid for it! Life is good.
Meh, u are still young. Am 40yrs I just started Information Technology degree.
you're not old.
I'm really, really old (76). Don't get overly attached to any one OS or programming language. Trust me, it will all change as you get older. Remember, a good programmer can program in any language/OS. I like to say, a good programmer can write FORTRAN in any language.
Regarding gaming on Windows: thanks to the steam deck, valve has been working hard on SteamOS, which is a linux distro customized for gaming. While you still might run into games which dont run well on SteamOS, the vast majority do. Furthermore, if you have amd hardware (especially gpu), it is very well supported on SteamOS since the steam deck utilizes an AMD APU. So don't let gaming, hold you back if you are thinking about giving Linux a try, because every year that passes SteamOS is in a better state (it is already in a good state mind you).
i just saw your vids. thanks for the content actually very fun to watch
5:10 Another good tip: if that pc was running Vista or older versions of Windows don't bother finding that activation code.
Bro, your beard isn't nearly long enough to be using Arch. đ
DT?
I'm so tempted to start the arch journey just to be able to say the thing. But I'll stay with mint until i'm better at coding and have real use cases for an advanced linux distro. Thx for the insight!
I was using arch linux installed from scratch, but I didn't like having zero-configuration there instead of just the default one. That's why I prefer other distros like fedora for example.
Yeah Fedora is good. DNF is awesome. Running it on my PS4 lol
Why not use a Arch based distro like Manjaro or Garuda or EndeavourOS?
I replaced all the windows in my house with linuxes. Now no one can see in.
Another reason for Linux is if you're doing anything with Docker. Sure, you can run Docker on Mac or Windows, but it isn't a real native OS-based container, it uses a behind-the-scenes Linux VM. On Linux, you're getting a native, kernel-supported containerized environment.
Most of the software I wrote years ago ran on IBM mainframe, Unix, and Windows. Most of the software I use (but didn't write) in consulting work runs on Windows, MacOS, and Linux. All written in Fortran, C, or C++.
i have watch many videos about this topic, but most of them just mention about the benefits of linux instead the reason to use for coding... yours just straight to the point.. thanks for this video
Great video, but I think you missed a couple big points!
1. You mentioned Linux is used on tons of web servers. The point you missed is this: naturally, if you're already working in a similar environment, getting a web server running is less of a server admin job and more of a job of understanding which distro and package manager is installed. If you're working in Windows, WSL fakes a Linux shell, but it's far from it. I'm a Ruby/Rails developer, and it's amazing the amount of issues people have getting the basics installed with WSL. It's just not right. And, unfortunately, people that want to experiment end up getting turned off by WSL. WSL is kind of the anti-Linux.
2. I know you might jest, but macOS is, IMO, the step between Windows and Linux. macOS runs a fully-featured zsh shell (used to be bash, which is what most Linux shells run, but you can always change it) out of the box. The addition of iTerm and the homebrew package manager makes the terminal every bit as powerful as Linux. No, you can't customize things anywhere near as much, and you can't do certain things on a system level, but I don't have time to mess around with how my UI looks, or tweak the performance on my Wifi card, let alone reinstall distros or window managers on a whim. I have a wife and a kid and a business. Sure, it's fun to mess around with, and my backup computer runs Linux since it's so old, and it's great. But I can get up and running with my dev environment every bit as fast on macOS as I could on Linux, and everything will (99% of the time) just work. Similar to Linux, a smaller user base results in less security issues, but, like Windows, you do have to wait for a security patches if necessary. Also, similar to Linux, privacy is a huge priority, but, similar to Windows, that doesn't stop you from installing Google Chrome with all its tracking stuff either.
I know some people are really anti-macOS. And that's fine. You use what works for you. If that's Linux, Windows, macOS, or, heck, running a virtual terminal on an iPad into a Linode server, good on you. I'm not here to argue the merits of one OS over the other - at the end of the day, they can all accomplish the same thing. Well... except WSL. That sucks.
It doesnt take much to know which distro you are on. If you know that then you should already know tha package manager or else you probably shouldnt be messing around on linux.
@@travisgoesthere or, they should mess around more. I learned a lot early on messing around in my systems. Just do it in a VM or have a good backup plan. Also +1 to OP because WSL is far from perfect
@@smokeyoak if you are so ignorant that you do not know your package manager then you have big problems
macOS is much better dev environment than linux. No fiddling around with hacks to fix common problems. Its consistent, doesnt break and has all the necessities to be a good dev environment.
@@MegaNerevar 100% agree, but also a year old post mate.
It'd be nice to see a video once you're done with your customized Arch Linux, a bit of how to build it and stuff :) Thanks for the great work again :D
Some people need no more than a single video to win you over. You are one of them. Subscribed!
Great job on the Linus Tech Tips segway! :). I decided to buy a 17" Chromebook for programming and this helped with my decision.
Iâm running Linux on a vm and already love the terminal, but now I think Iâm sold!
Me too I got Bantu vm Linux. I really need to learn to code better
Please use wsl2 for gods sake.
I'm glad Privacy is getting their word out. Another CZcamsr I watch was sponsored by them, and it's one of the first times I've actually gone out and gotten what a CZcamsr sponsor promoted. Very useful. You got one of the best sponsors, man.
too bad privacy is only in the US.
@@noadevamshmanoj3618 Wait till you hear about our sponsor, NordVPN
@@noadevamshmanoj3618 the us is the worst country in regards to privacy.
The reason most of us don't have privacy is because of the NSA, and other huge information gathering conglomerates in the world.
@@PsycosisIncarnated It's no paradise elsewhere either. it's just not out and about as it is in the US.
@@noadevamshmanoj3618 i never said its a paradise, but the NSA are literally the biggest data gathering conglomerate.
Developing on Linux is great. Things just work without wrangling OS and Tool of choice discrepancies for 1/2 your project timeline.
DotNet works awesome on Linux too, docker actually works as intended, etc. Nix shell is an awesome tool as well. Saves to much time.
You can setup a dev environment a lot easier on Linux. Everything is available. Want a dotnet IDE. Sure. VSCode works, but you can also use rider. Want to setup some services? Docker is dead easy on Linux and doesnât make your system crumble.
I still use windows and MacOS. But nothing compares to what Linux gives for development.
Been using Linux as my daily driver since the 90s. Now Manjaro i3 is my main. I also use void for some things and slax as a rescue boot. Oh. And ventoy⊠a miracle utility.
Just works out of the box was something touted to me since the 90s and I've never had that experience with Linux, there is always something bugged or not working as expected.
@No_Name Iâd say: any distro that you feel comfortable with.
My take on âbeginner friendlyâ distros is that all distros are âbeginner friendlyâ, but some are configured better for a better experience, iykwim.
Iâve installed Linux Mint (KDE) and Manjaro (XFCE) on friends computers and they are happily using img their PC without much hiccup
@@manticore4952 I hear you. It definitely requires a level of tinkering when things need attention. IMO, Linux doesnât get in the way for configuring your workstation with a myriad of developer tools that you may need to get your work done.
I feel on windows and MacOS, things like Java, python, containers and automation tools (Ansible, terraform, etc) can be painful to make work effectively and not get in the way
Unfortunately i'm still stuck on Windows because of Windows Forms Apps and whatnot đ©, but .NET itself has made crazy advances towards being multiplatform.
I tried linux for a while, I really liked the terminal but had a major issue with device drivers and the fact that I have to dual boot it since I need windows too for things like gaming.
There was always some kind of error everytime I booted linux, and although they were temporarily fixable, it would take 15-20 minutes everyday or sometimes even hours.
I tried clean installing and had the same problems, and that coupled with the fact that visual studio for windows had everything that forced me to use linux, I no longer use it.
Sounds like you didn't read the documentation and never disabled secure boot in your PC
As a C++ Programmer my answer is "valgrind" and codecoverage (on windows only in the enterprise visual studio not the free community). So algorithms always developed on Linux and than i reboot into windows to add GUI.
Would be cool to see a video about you building up your arch linux customization.
Still waiting on your full arch setup video!
I thought the reason the companies use linux is cuz it would cost them too much money to code their own os and they would rather just use something that does what they want it to do
would u compare it to Mac OS please in future video - or at least ur thoughts and experience
Despite what the haters say, dev on Mac OS is solid & pretty close to a Linux experience (despite the cost factor).
I would switch completely to Linux, if not for ease of use with iPhone (copy/paste, iMessage etc). Just so hard to give up those conveniences for me, but if I could get around that, it would be Linux all the way.
On desktop, I never had issues with Linux, but on laptops I have always had some issue with function keys, and/or trackpad.
There is normally a configuration or workaround that can be got to work. IBM and Lenovo Thinkpads have specific hardware drivers in the kernel itself which usually means they can work okay - but, yes, it can be fiddly.
Do you use wayland or x11 for your multi monitor setup? I get uneven font size when I use linux with my laptop and extended monitor. Or else I have to settle with blur text by using fractional scaling.
I think major point is missing. Packets management and distribution. Usually if you want something - you have it in your distro repo, or community repos or flat pack. And you know what that it's reliable and secure. It's just like having steam for all the soft you have.
I love linux and used to run ubuntu or arch as my main system. I switched back to Mac OS after running an update in Ubuntu and losing my WIFI for the first half of a day on a client's jobsite. Now I run the only good OS there is. Emacs
If you would have been using timeshift
, then you have reverted to a previous state of the system. Once said that, in like 10+ years Ubuntu LTS has never let me down.
TimeShift, backups take less than 10 minutes, it's quicker depending on the system. MacOS isn't fun.
I appreciate losing your wifi is a bit of a pain in the backside, but did you just give up with Ubuntu that easily? My wife has "all Apple" stuff and has been through three Macbook upgrades, even she has had two or three real "stinker" corruption problems that put her out of service for a day or two until Apple support fixed it. (Despite having built and fixed computers for over 30 years, I wasn't going anywhere near them to try to fix them for fear of voiding the warranties!) But even that hasn't deterred her from staying with Apple (poor woman!)
Thanks brother for showing authentic content, and also I think windows has become more open minded and is focusing on making windows look more light weight.
well, only look
I reinstalled Windows 10 from a flash drive recently. Now I have a concerningly large amount of free hard drive space đ€šđ§ Idk why, but that's cool...
I love how this was a huge ad for that " privacy " app or whatever...
Hey, Thanks for the video. I use Linux on VM, and wanted to know good ideâs to use on it?
You didn't mention which distro you are using... I was waiting for that!
6:58
That segway though, man you nailed itđđđ„
I'm fully expecting more and more people switching to CLI systems in the future. However, the command line *interface* they'll be using will be more like writing commands to ChatGPT.
I am a comp sci student. My goal is to become a software developer. I use windows at the moment because I game on both my machines and I want to be able to play games that use ricochet anti-cheat. But you've convinced me to at least give dual booting a try. Linux in a vm doesn't cut it for me. I don't like only getting to use a fraction of the hardware I paid for. Anyone recommend any distros? My primary use for it would be coding.
6 months ago I started learned programming language c++ :) I like watching you :) thank you for your YT work đđđ
C++ is harder than it should be :-)
I hope you really need that speed and memory management
@@igorthelight some people do actual programming work and they really do need it
I just found this gem of a CZcams channel and I'm already enthralled. Leaving a random comment for the CZcams algorithm :)
Just liking the video for the LTT reference.The transition was smooth by the way.
have you tried davinci resolve for video editing? if all the open source video editors are not professional enough for you, this might be
The funny thing is I do all my Dev on my Manjaro linux no dual boot for me...
As an Ubuntu (20.04) user, I approve Linux as the programmer's OS. And this video! đ
And for all those who said that they were "first". I beat ya'll to it! đ
Awesome content. Thank you.
I have Debian+ KDE installed on a 64gb SD card, and that's my experimental software development platform. I travel with it and maintain the same development environment wherever I'm at, live booting into any system anywhere (that doesn't have secureboot). Try doing that with Windows.
I normally use a Mac and have a spare compute that dual boots to Windows 10 and Ubuntu. See that you prefer Arch Linux, probably have to take a look at that as well. Would love your take on Windows vs Linux vs OSX đ
I actually really like macOS. It's Unix-based so solves the problems I have with Windows - and it's just well put together. Only take a look at Arch Linux if you have the time to spare haha people spends days, weeks, months, and even years getting it to fit just right. And even after that you'll still tinker with it all the time.
@@fknight Right, thought I saw a MacBookPro lying around in one of your videos. I particularly like the big touchpad on the Mac which comes in handy when editing videos in Premiere Pro. Wow Arch Linux sounds like a mega side project đ
@@DataProfessor you got pop os, as bioinformatics person too it just works out of the box, even with CUDA and Nvidia stuff. ( It's Ubuntu based ) and really refined.
@@Tasksoldier121 Thanks, Pop OS looks dope, it has bioinformatics, ML and creative stack, sold on the features! Thanks for this recommendation.
Dang, that privacy thing is really cool!! Thanks for representing linux. I use Parrot and ubuntu and I love them. I'm not gonna lie, I do use windows a lot for coding since my school website and stuff doesn't work very well within linux but any other project and security related thing I will do in linux.
Ubuntu tracks you bud, move away if privacy is important to you
I truly am happy you mentioned Adobe I think atm it is the only reason I still hang around on windows. Although dual boot is cool the amount of times I have had to fix grub (most likely because of a windows update) just makes it not even close to worth it for me.
But you can configure grub to boot from the previous OS. So if Linux is the default but you install an update in windows it will book back into windows
you can use the command in powershell to disable the data collecter "Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0
"
I don't think you mentioned it, but the availability of languages from day one is good with Linux - e.g. you can run code. When I was on Windows, it took a bit of messing around to work with some languages, especially Web development - it is not built into Windows (or at least was not) and Windows server is quite different to Windows desktop editions and most people will not have it either.
oh yeah, this point too. and related to this is preincluded GNU coreutils. they are a lot of help as well
I tried days to get certain Visual Studio Tools working, 6 hours to download, then fail with something like "Error code: 41", thanks for that. After about 3-4 days of trying, I just moved away from Windows. Windows is a toy OS, it's for your regular browsing and games, that's all.
I liked and Commented for the CZcams Algorithm , because you deserve it... I learn alot from you
More engagement right here!
I do think that the lack of available hacks is not due to Linux having less users, since as you said, almost all online servers are Linux, making exploits very usable for hackers. I think the security comes from being an open source kernel, with an open source os on top of it, with most of itâs usage being in high security scenarios, like using it as a web server. Point is still valid though, good video, and I think the same
I donât agree that with Linux terminal always lets you uninstall software 100% without residue, is just an illusion, same as with MacOS but worse there.
I think (sorry people) that package managers are overrated, but if youâre much into it Winget looks promising and well you also have Chocolatey package manager for Windows
4:08 imagine me trying to screenshot that meme but actually got that picture that only occupies like 5 frames.
Linux is really good. I'm serious. I'm an artist, I can do art on hd canvas without much lag. In Windows, it lags like crazy.
Thanks Linux.
I had to go through some crazy learning curve to use linux efficiently the way I wanted. Gone through Ubuntu to Arch to MX to what not. And finally settled on bare bone Debian ( the wifi is broken đ due to something I did ). It is vey stable and uses like 250 mb of ram on idle. It's just crazy worth it. I am doing client work on 1st gen intel i5 with no graphics card, 4 gb ram, and a milky screen.
I'm grateful though. It works đ. Thanks to Linux and it's community.
What do you think of MacOS? I personally only use it on my old MacBook that I got from my mother. I am really plesently surprised, as a Linux user
Although you did not ask for my opinion. I have never used XCode, which is an IDE. If you want to develop for iOS or MacOS then a Mac is a must choice.
8:23 - "All of that dosen't feel right to me on windows" - exactly the same felling dude.
Linux beats Windows in almost all categories for me. The only place where Windows is ahead is software availability, and that's something that's in the control of developers. If every software available to Windows were also available on Linux, I'd never use Windows again, it's basically gone from an operating system into a malware system
@@drewskydew2892 That's not a silver bullet, sometimes there is a program that you really want, but it's almost impossible to get it working in wine.
@@kushalarora1019 honestly thats the type of setup im thinking of changing to, just Full Daily drive arch linux and setup like a VM with XP to play some old games.
And also gaming!
Ok man, that was a smooth as transition.
Welcome to the Linux community. What window manager do you use? Is it i3, sway or dwm?
I watched this a few months ago, and forgot I had. Since then, I've fallen down the rabbit hole and become a Linux nerd, and I just remembered that it was this video that set me down it. Thanks, I've really been enjoying it
i seriously need to get into linux and coding, something ive been putting off forever
Just moved to Linux for coding. I'd say don't waste more time with Windows
3:48 "Microsoft, runs on Linux"
These aren't the best of arguments to use Linux as a developer. I've done a ton of development on Windows, Linux, and Mac (I'll admit, lightest on Windows) and I still agree with the premise.
Environment: is the number one and two reasons you should prefer to develop on Linux instead of Windows.
1) The raw tools ecosystems for most languages are command line based which is a much more core and integrated experience in Linux. They will work in Windows, but it usually takes more effort setting up the PATH for you user (figuring out that is even the problem), and if those tools need to integrate with native tools like gcc, Windows quickly becomes almost shit out of luck. LLVM/clang has really saved Windows' hide in that department. LLVM is natively available in Windows.
2) Linux GUI environments are extremely customizable for your productivity style, and for many this will be a tiling Window manager like i3. i3 is blazing fast at window/workspace switching, very flexible in terms of Window movement, and very organized as a tiling(and tabbing) window manager, and all of this is manageable via keyboard. I wish I could use i3 as a window manager in Windows and I would pay for it. Other window managers exist in Linux as well and outside of i3 many people using Linux have radically different desktop areas.
Security -- that's not specific to coding since you're referring to how secure the OS itself is and not something that transfers to your code. If you're writing code on Windows, you're tech saavy enough.
Reliability -- Windows has been quite stable since Windows 7? Yeah, they have some patches that come out and do some pretty dank things, but I imagine a server host would be configured not to take screeching new updates A.S.A.P -- or at least a sys admin is in control to balance if they need a patch for security, or if it's just an 'update' to fix things that aren't broken.
Performance -- there is some truth to how lightning fast Linux can be even on older hardware. This becomes even more ridiculously true if you're capable of operating without a GUI environment and do things via the shell. Even if you introduce a gui environment, Linux is still likely faster if you pick a more manually pieced together system over a distribution that tries to give you everything to make it as close to Windows as possible.
Linux is also my preferred work environment for programming. But if you use homebrew you can get cool stuff, like mc, ncal, htop zsh and more - on mac.
Iâm assuming Linux is what you use on your PC. What about your laptop? I remember from your old videos that you used to have a MacBook Pro at one point.
Linux can also be installed on laptops and Macbooks.
@@dexternepo yeah Iâm aware of that... my question is in reference to him previously using a MacBook with macOS on it (for iOS development, if I remember correctly)
@@RealArnavGupta That is kind of mandatory unless you use somekind of cloud Emulator and compiler server, but that is always a pain compared to having a Mac and a Iphone for that
I have used Windows, Mac, and Linux for development, and I agree that Linux is the best OS for development overall. I just wish I could find one *really good* visual diff tool and GUI git client, either as separate tools (my preference) or combined into one. It doesn't even have to be free, I'm willing to pay if it's reasonably priced.
Probably too late, but what about GitKraken? :-)
@@midevo_ GitKraken isn't perfect -- it's based on Electron, so it's slow, for one -- but it would be more than good enough if not for the subscription pricing. For me, ~60/year *in perpetuity* isn't a reasonable price for a git client.
I've been doing c++ etc on mac for 10 years after Windows. I setup Linux Mint Mate last week on an old HP laptop and trying to get it setup has been pretty annoying. The terminal in vscode and Intellij give errors building cmake in the integrated terminal while the stand-alone terminal works fine. Not much in the way of support online to figure out the issues.
Chocolatey solves my issue with the package manager on Windows + WSL2 is enough. Though I also mainly do C# and the windows ecosystem so..
I do feel that windows has had a great deal of optimization in the recent years. My current laptop was a low spec laptop which took 10 minutes to open a web browser of windows back in 2019. I installed Ubuntu, and just as he said, it made my laptop usable. But linux being open source, inevitably has it's bugginess. My laptop would randomly crash on zoom, or the settings for thunderbird would mysteriously be deleted, or mailspring would suddenly take up an incredible amount of diskspace. On a working pace, it is just too disruptive to deal with such breaking issues. I switched back to windows, though it has it's little pauses, it is absolutely usable. Kudos to the microsoft team!
In my opinion, linux being used on servers should not be a big factor in OS decision on a client desktop. Much of the problems I have faced with linux has been on the front end.
The fact that it's open source doesn't imply "bugginess", it imply that more people around the world are working on it, than just Microsoft team.
Your problems could be solved by debugging, but as a Microsoft user which i think you are,i think you just rely that thinks will sort out eventually in an update or something like that. So linux possibly is not for ya
@@vladmusteata4250 I do believe there is better source control when working in a corporate environment. There are more eyes on the softwareâs performance, and there is a more unified mindset in the software architecture. Documentation and support are also important factors. Sometimes itâs just a matter of more rigorous testing and scaling up to find such bugs. Both of which might not be as available in an open source community, at least not in on a quick pace.
I am definitely not a competitive developer, but I have nothing against Linux, I used it at my previous workplace, and advocated itâs simplicity and performance. Just that with the daily rigor of work, itâs not possible to set aside time to search and repair a bug, which could put work on hold for months.
That being said, I have respect for people who fix their own systems. Kudos to you!
@@tianli8172 What makes you think that GNU/Linux isn't developed in "corporate environments"? Why do you think that free software projects are incapable of finding bugs? Your claims make no sense.
Your complaints smack of someone who's never actually used a GNU/Linux system, certainly not one of the major distros, and is just imagining things.
You brought up a good point (albeit a little uncourteously), that if you utilise GNU tools for your entire workflow, youâre unlikely to face these mainstream distro application bugs. Because GNU is awesome, and really stable.
I myself am trying to switch to a full GNU environment using GUIX and Emacs.
Idk why Iâm receiving so many personal blows for siding with windows đ itâs not a binary thing you know, these days with docker, you can run Linux on any host. I run above said Emacs through a container for my current workflow.
That being said, itâs been a couple of years now that Iâve been running on windows, I have faced my frustrations with it, mainly due to the limitations of X servers. Iâm intending to switch OS, Iâm gonna out once I get guix sorted. But I donât think Iâll go to a mainstream distro, perhaps rde? I would recommend you try it
add that on windows, every development tool/framework (git, nodejs, etc) feels like something patched and forced into windows, while on linux everything is well integrated and feels smooth, all running natively instead of being its own CLI with its own annoyances, don't get me started with containers ...
It doesn't just feel that way, it _is_ that way. Windows support is an after-thought, if it was given any thought at all. If you look at Windows-first tools and frameworks, they're well integrated in Windows. Though as much as I wouldn't want to use anything other than git, git's CLI is ridiculous even on Linux. It's pretty clear it was never designed, it's just... grown. Because ultimately, it started as Linus' inhouse tool. Which is actually quite common in the open source world, for better and worse :)
@@LuaanTi agree about it being an in-house tool, but you have to agree that it's an amazing in-house tool none the less, and with all its caveats, it's just awesome if you know how to use it properly, more if you are in an automated environment, it's just mindblowing
@@mindblow7617 Yeah, as I said, I still prefer it to alternatives, for the most part. It would just be nice if the interface wasn't such a mess :)
Security by obscurity isn't security. Just because most people don't know how to comb pick a Master lock doesn't make the lock a good choice. They can be opened in seconds without the key.
Linux is arguably more secure because when problems are found they're fixed, quickly. Another issue is the feature set. Windows does everything, built in, on by default, cloud printing, remote desktop, work folders, etc. You can do that stuff with Linux of course but one has to choose to. If you don't do those things they're still sitting there operating with Windows. Among the first things I do with Windows is turn off all the stuff I don't use, remote assistance, WebDAV, etc.
PowerShell is indeed a power shell.
I too resist moving completely away from Windows for Adobe stuff. But alternatives are getting very good, gIMP, KDENLive, Libre office, this stuff is good enough now for casual users & runs perfectly on Linux. The *need* for Windows is going away. If all you do is browse the web & write a letter now & then there's no value in running Windows. PDF manipulation... There's no better than the stuff for Linux.
Now with Wine 7, Linux is a very functional replacement.