In summary, I really couldn't care less what improvements they make to WSL, and neither should anyone else, imho. If you want Linux, for the love of god just use Linux. Emulation works great the other way round by now.
In summary, I really couldn't care less what improvements they make to WSL, and neither should anyone else, imho. If you want Linux, for the love of god just use Linux. Emulation works great the other way round by now.
We tested this in the office with equal laptops. CPU workloads have almost no VM overhead and the C++ / Rust compilation workloads on purely WSL2 virtual disk image is only 2% slower.
Yes WSL1 was more ambitious but the fundamental differences in the NT and POSIX makes it quite hard and CPU workloads suffered.
I've usually been able to get windows software running, but it's not always easy. I borrow my wife's laptop to reprogram my gaming mouse, for example. Couldn't be bothered any longer to dick about with wine.
But this is slightly beside the point: many have to use the allotted machines at work, which will tend to be windows (or maybe mac). That's the audience for WSL. It is an escape hatch for wage slaves.
The original WSL translated syscalls. It was a very tight integration. It was not perfect, and i should think it was a massive ongoing effort. I think it's an elegant approach bit i can see why wsl2 is essentially a vm. I never did any benchmarking, but i suspect that what wsl2 loses in disk performance, it gains in kernel performance. I never found either variant slow, and my corporate laptop was shit. My vagrant stack was diabolically slow, though.
I built my desktop. I do own an unused retail windows licence, and i think I've even activated windows on this box, but the key is not in the BIOS. I'm curious how that's going to work.
Tangent, in case my folly gives you a chuckle: my mouse, of the windows-only reprogramming tool, is a zerotes c18. I got busy with a dremel and did a _side project_ on it, only to discover that the thumbstick has only 1-key rollover. It's useless as a controller pad because it only supports the cardinal directions. I am a silly billy.
and I am using linux. When I execute code, it's executing via the Linux kernel, on the cpu . This is not an emulator . Intel has had hardware virtualization for ~ 25 years or more.