I am considering building a PC for programming and am genuinely curious if WSL2 can be considered a replacement for dual booting Linux and Windows? I am currently rocking a dual boot system (with legacy bios) and haven't had any issues so far.
It's pretty close. Big pain point for me still is that running an IDE from Windows and accessing the Linux FS is not quite as snappy as native-Linux (I use IntelliJ). So for now I still dual-boot.
This is apparently being worked on... in the future I will be able to run the IDE inside WSL and it will bridge X11/Wayland to Windows.
If you can try using Visual Studio Code, with their remote plugins. One of the remote plugins is for wsl2 and it works great.
That means that VSC installs language server inside the wsl2 environment, I use it at home for my rust/python development and can't tell the difference.