Hacker News new | ask | show | jobs
by pknopf 2607 days ago
WSL2 now uses VM technology, so the performance is now a lot better.
2 comments

Wow, that's a welcomed change for me. I was trying every 3-4 months to get WSL working as a suitable development environment. There was always _something_. Excited to try this out again when I have a free day on a weekend.
WSL performance problems were mostly due to slow I/O.

How does virtualization fix that?

Translating syscalls to the NT kernel is slower than running Linux with a virtual filesystem.
But in the end, the virtual filesystem is backed up by done Windows storage?
Idk, but Microsoft cites these differences for the performance improvement.

Maybe things can be speed up/cached when you are one-to-mapping the syscalls to NT kernel.