Yes, with WSL2, it’s implemented as a VM on hyper-v. But, that should be treated as an implementation detail, it’s a very light VM, compared to your usual linux VM. And you get the tight integration with the windows side of the machine for free, without fuss.
It’s very cool that you can have a workflow that starts in powershell, then executes commands in the bash shell, and the results stream right into powershell.
Yep. When I last had a windows machine at work I used WSL2 and for my workflow at least, it worked just like WSL1. I do know a few things changed between 1 and 2, but I never encountered them.
It is a Linux VM though. At least that’s what I’ve heard.
Yes, with WSL2, it’s implemented as a VM on hyper-v. But, that should be treated as an implementation detail, it’s a very light VM, compared to your usual linux VM. And you get the tight integration with the windows side of the machine for free, without fuss.
It’s very cool that you can have a workflow that starts in powershell, then executes commands in the bash shell, and the results stream right into powershell.
Is that still true with WSL2? It absolutely was with 1, but when 2 came out everyone said: Forget that we ever had WSL1.
Yep. When I last had a windows machine at work I used WSL2 and for my workflow at least, it worked just like WSL1. I do know a few things changed between 1 and 2, but I never encountered them.