DEV Community

Discussion on: Windows vs linux?

Collapse
 
manuelojeda profile image
Manuel Ojeda

Well here is my opinion.

I have been doing web development both front and back since 2015. Since then I was using Windows as a main platform without any issue only the boot problem that is having a bad performance over time.

Now that we have Windows 10 and the awesomeness of WSL (docs.microsoft.com/en-us/windows/w...), you can use a emulated Ubuntu local machine running inside Windows and you can use everything as your OS terminal were Linux instead of Windows.

The main issue with this approach is that with overtime both WSL and Windows performance going badly, in my experience I had my Main PC which is a gaming one with SSD and everything and after few months the performance went really bad.

Of couse you can use mostly of tools nativily (NodeJS, PHP, Git, etc etc) but you can be messing some stuff that only works with Linux and OSX because of UNIX.

At this time i'm running Ubuntu as development enviroment and I don't have no issues. As a personal tip I recommend to you to use any Linux distro of our preference natively instead of having any emulation of any kind (Docker, WSL, etc, etc) The performance it will be really great.

Collapse
 
mburszley profile image
Maximilian Burszley

The main issue with this approach is that with overtime both WSL and Windows performance going badly, in my experience I had my Main PC which is a gaming one with SSD and everything and after few months the performance went really bad.

Having used both since they went GA, I have no idea what issues you've seen over time as I do not share that experience. And with WSL2 (currently on insiders), I also do not see slow system resource access anymore either.

Collapse
 
manuelojeda profile image
Manuel Ojeda

I forgot to mentioned why I left Windows definitly. I'm mostly PHP developer (a fullstack dev) so I had Laravel Valet running in WSL and 90% of times had issues of 502 errors from ngnix and the point it was annoying and the best approach was using a native Linux distro.

As I saidm if you are using WSL for JavaScript development it will run smoothly without any issues 👌

Thread Thread
 
mburszley profile image
Maximilian Burszley

What issues did you run into with js? Most anything with node_modules was resolved years ago and the pnp thing with yarn is pretty sweet once tooling support is up-to-date.

Thread Thread
 
manuelojeda profile image
Manuel Ojeda

With Node and JavaScript none.
My issue were with PHP, I was using Laravel Valet WSL as a virtual machine host to have a local PHP dev env without to much steps.

As I sad, with JS there is no problem using WSL

Thread Thread
 
mburszley profile image
Maximilian Burszley

It's just confusing you conflated WSL with JS when it works just fine on Windows as well.