Hacker News new | ask | show | jobs
by sz4kerto 1224 days ago
It's just you. WSL2 is a real Linux, there's almost zero performance hit. (If you access Windows filesystem then that's slow, of course.)
2 comments

Curious, though I feel like when I develop using an IDE like intellij, there's some sluggishness when the project files are on the wsl file system. Is it because of mixing between the windows one where the IDE is installed, and the wsl one?
Yes, the WSL2 implementation uses a sort-of SMB to mix filesystems, compared to WSL1’s “real” syscall translations etc.
I use WSL2 on a daily basis and I love it, but the console output is slow.

It's mostly due to Windows Terminal having performance issues. But it does have a big impact on any script that prints a lot.

Use wsltty
Thanks for the recommendation, I'll try :)
Can't you just use an X server on WSL ?
Fair point, I never worried about it to be honest.