by Night_Thastus · 1y ago · 0 comments
When it works, it's great! When it doesn't....oh man it sucks. It has been non-stop networking and VPN problems, XServer issues, window scaling issues, hardware accelerated graphics not working, etc. this whole time. I've spent more time trying to fix WSL issues then actually developing software. It's never gotten better.
It's fast. It's powerful. But using it as a daily driver is very painful in my experience. I avoid it as much as possible and do most of my work in MSYS2 instead. Sure, it's much slower. But at least it works consistently and has for years.
It was possible under wsl1, but wsl1 is an entirely different thing.
"never had any issues" is a meaningless statement. I "never had any issues" with infinite things I never tried to do in the first place.
I have been using WSL to develop Firmware in Zephyr, no problem so far.
[1]: https://blog.golioth.io/usb-support-in-wsl2-now-with-a-gui/
I will have to see if it actually works in my case. The devices are intolerant of timing. Even using usb-serial instead of legacy hardware, let alone the ip stack, can be a problem unless using real ftdi adapters.
Basically virtualizing rs-232's hardware flow control into usb packets was always technically invalid since the beginning, but if the host is overwhelmingly fast enough, you get away with it, usually, and by now all new serial devices have adapted to expect the behavior of usb-serial adapters since that's what everyone has. For that reason, new devices generally tolerate even worse timing and you can even get away with going over ip. But the fact is the timing is garbage by that point and not everything works.
Still, I'm sure it's working well enough for most things or else there would be more reports that it doesn't work.