Been daily driving WSL Debian for about a year on my work laptop, without systemd and display server. At first, I was really only using it for application servers that just won’t run or too tedious to run on windows. But windows is just terrible for dev work that’s not part of windows eco system. So I found myself slowly moving most of my dev stuff to WSL. There are still some problems though.
Off the top of my head, first is neovim and the system clipboard. I can use clip.exe but there’s a problem with unicode characters. It’s expecting some UTF-16 encoding or something but my bash is in UTF-8. And somehow that messes up copying some unicode characters. I have to either use iconv to convert the encoding before copying or may be change my bash encoding.
Another recent problem I had is binding WSL ports to the window host’s network. WSL automatically binds the service ports to host window’s localhost with the same port number, which is pretty useful. But it only binds to localhost address. If you want it to bind to other addresses, you can’t configure it. You can to run some kind of a patch program someone wrote, that rebinds WSL ports the wildcard address. And it doesn’t work very well if the patch program’s version and your WSL’s versions are not compatible.
Another minor problem is that there’s some kind of a freeze that lasts for about a minute when I’m doing fzf in bash. It happens sporadically. I’m not entirely sure if the problem’s with Windows Terminal or WSL. It’s likely WSL. It seems to happen with other terminal emulators as well.
All in all, WSL makes having to be on windows a whole lot bearable. I’ll probably end up using only rudimentary UI apps on windows and move the rest to WSL.
It’s the best if you convince your boss that you need it for work in your non admin privilege system because you can sudo inside there so you can install whatever.
For me: totally. I need to use windows for work. With WSL, I can use all the tools I need via the Debian box underneath. All I use windows for are the communication apps my colleagues use.
Might give it another go then, the problem for me is not that it doesn’t work, but that it doesn’t work reliably though
Have been using it as a PWA and half the time it forgets I gave it mic permissions or resets my audio settings/doesn’t even recognise my mic in the first place
WSL is great for me. Not as fast as being in native Linux but if you’re stuck in windows it’s a impressively seamless tool to just have available. I use it for convenience so I don’t have to have a second machine next to me all day
Since wsl2 supports cuda, my gaming computer can run open source deep learning models so easily it’s stupid. I’m mainly using it to rip music from youtube and split it into stems for music production using Facebook demucs. I tinkered a bit with stable diffusion models a while back too. It’s pretty sweet, especially since windows sees the linux drive as just another directory, so my DAW can just bookmark it. It’s so seamless.
Win 11 is still garbage for privacy and ownership reasons though. MS can fuck a duck, but they make some pretty baller software.
I’ll emphasize the point that this goes for any kind of machine learning model that can benefit from CUDA, which means a large amount of gaming computers already meet the prerequisites for this. Installation is trivial (but requires some knowledge), and I hope to see more ML applications for hobbyists in the near future. Image generation and locally hosted GPT models come to mind.
Sometimes in enterprise environments you’re not allowed to have a proper Linux and you’re forced even as dev to use that thing from ms.
Since hardly any code in the web runs on NT, the wsl is the only way getting your things done. It does what it does OK(ish) but except of that single usecase I would never use it.
I’ll parrot the others. I have a Windows PC issued by my employer. The only way to have some Linux is WSL. I use it to sync notes with server at home, python stuff, and w3m when I want to Google something without looking conspicuous in the office.
General Linux tools also help. I needed to make video half the speed - one liner ffmpeg solves it in a jiffy. On Windows I need to install some hive software.
When I used wsl, it felt fine. There were some problems with running more GPU intensive tasks, but being able to use linux-only software while I was restricted to Windows was pretty good.
I had been using WSL2 for about one year. The experience was terrible compared to a Linux host. (Sadly I can’t change the system on my work laptop). However, it was much better than Cygwin, msys2 and powershell - based on my experience.
If your host OS is windows and you’re interested in Linux, I think WSL2 is a good way to have a try
WSL has replaced my use of the command prompt in Windows for anything (and I used it more than most, I think).
In my job, I develop Linux applications to support industrial automation, and WSL is capable of building and running most of what I make. It isn’t a full Linux machine, and can behave unexpectedly when trying to do things like changing certain network configurations.
So it’s great for what it’s for, really. But if you want a full VM, this isn’t really for that.
Add comment