18
Why use WSL2 as your dev environment
As a developer you are offered multiple os to work with. Windows, Mac OSX and Linux. But with virtualization like Docker, VM ware, Linux Dualboot... you can even choose multiple solutions at once.
Doing a lot of Devops work with Docker, Terraform and multiple Linux only CLI tools I needed an environment to setup once that meet all my needs.
Cons : Heavy, need to maintain two dev environments, expensive.
Cons : Ressource-expensive, buggy, slow.
Cons : Environment specific bugs, especially with file system.
Cons : Slow, IDE is limited.
Windows Subsystem for Linux It lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.
You can use your favorite GUI tools in Windows, and use all your CLI tools and app inside a linux terminal with almost seamless communication between the two.
Cons :
In my next posts, I will show you how I setup my dev environment in WSL2 as well as some tricks to avoid common bugs, and unexpected behavior.
18