Linux or Windows
Posted by No-Situation-2374@reddit | learnprogramming | View on Reddit | 15 comments
I have a lenovo windows 10 i5,8th generation ,8gig ram and 256 gig storage...My issue its slow l run vs code intergrated with linux wsl2 ..when l open vs it goes slow most twice l have deep clean the drive ...now am thinking of switch to linux is it a good idea ..l originally wanted to increase ram but now am short on funds
Bachihani@reddit
Linux Without a second thought
CrimsonHeretic@reddit
100% Linux. If you end up absolutely needing Windows for something down the line, just use a VM.
inverimus@reddit
You can always boot a live environment of most linux distros from a USB drive and try it out like that to see how things run and if you like it before switching. I always recommend linux to anyone that doesn't need anything specific on windows.
SynapseNotFound@reddit
So use linux?
Linux is great
shelledroot@reddit
Last I checked Windows at Idle will use \~ 2 GB of RAM (Windows 10), WSL often uses 1 GB of RAM to keep the Linux "vm" running, add into there chrome (2 to 4 GB of RAM), and VS code (2 to 4 GB of RAM), and it makes sense why you are running into memory issues. Switching to Linux will save you \~2 GB of RAM. Still will be a tight squeeze plus some software are OS bound (crappy anti-cheat/anti-piracy software that can't be bothered with Linux).
Entire-Food8241@reddit
Xubuntu, obviusly that cannot handle Win10. Little you knew that Windows uses programmed obsolescence
InVultusSolis@reddit
I would never do anything but Linux on a modern PC, Windows is a bloated albatross.
righN@reddit
Check Task Manager and see if you're actually running out of RAM. Linux might help, but not a lot, even on Linux you will run out of memory, so it's better to save up and add some.
InVultusSolis@reddit
Technically correct but dishonest.
Even a base windows 10 install takes ages to start - with Debian running Mate I can go from cold to ready-to-use desktop in under 20 seconds with a core i5 CPU and it takes less than 512 MB of RAM.
No-Situation-2374@reddit (OP)
I have checked the moment l open vs the task manager memory goes all the way to 100% vs code is the culprit
Chrykal@reddit
I have a similar spec laptop that runs vscode fine on linux, along with the other software I might use for programming, the 8gb ram is definitely your issue with windows.
NationsAnarchy@reddit
Linux should do the job (and look for beginner-friendly Linux distros as well if you want to do so), but honestly you should really consider upgrading the RAM (once you have the fund for it that is).
WystanH@reddit
It really depends on the kind of work you're doing. There are a few tools that are OS bound.
If you're using VS Code... my Linux box seems to get thrashed a lot less for the same project on Windows 11. They're not identical hardware, but each OS does handle threads a little differently.
If it's a question of old or slow hardware, linux will likely be kinder to you than a newer windows OS. I have windows on my new stuff, but tend to keep older stuff chugging with linux. I use Windows for projects requiring Visual Studio and for playing games. For everything else, linux.
HyperWinX@reddit
Instead of asking "should i" you could already install any distro and check.
necromenta@reddit
Id go Linux if you don’t need windows for anything, wsl is decent but it really sucks, keeps ram busy, windows updates constantly damage it and is heavy to have it running and multitasking on windows
Is not an expert though