Well, the switch takes about five minutes.
It’s just wsl -—set-version <distro> 2.
Yes I know, but I currently have a good setup with WSL1 where my code lives on my Windows disk, IntelliJ runs on Windows and I use WSL for terminal tools like git/zsh/tmux/terraform/kubectl etc.
Just switching this setup verbatim to WSL2 will most likely lead to performance problems on file I/O from WSL to the windows disk (due to the architectural changes from WSL1 to 2). File I/O within WSL became faster, but crossing the boundary is more expensive making tools like git unusable when the code lives on the windows side. I could move the code to the WSL side but then every IntelliJ I/O operation needs to cross the "slow" boundary. Unless I also switch IntelliJ to WSL so it will probably take some experimentation before I arrive at a proper WSL2 setup that satisfies my needs.
WSL gives me access to all my regular devops and developer tools + Linux shell while I don’t have to reboot for gaming and music production.
I switched about 1 year ago. Windows is now again a solid OS choice for developers and I expect lots more developers to make the switch with the recent and upcoming MacOS changes.