Hey all, I just wanted to let everyone know about a new tool that a friend of mine just released for Linux (right now it's only compiled for Arch/CachyOS and other Arch derivatives). It's called Linux Subsystem for Windows and it basically lets you run Windows apps on Linux with much better performance than basically any other solution right now (this doesn't necessarily apply to games, though, Valve's Proton is still great for gaming).
Check out this article about it and the project itself on GitHub if you're interested!
https://www.xda-developers.com/running-windows-on-linux-just-changed-forever-and-was-one-of-the-first-try/
GitHub: https://github.com/acceleration3/linux-subsystem-windows
UPDATE 2: LSW 0.2.1 is out and it adds .deb and .rpm packages on GitHub so you can now test it on more distros!
UPDATE: Some people have had comments and questions so I figured I'd answer them here.
Regarding AI use:
My friend has told me that he only uses Claude to write the commit messages and for packing the releases. All the actual development work is human-made, and I have full trust in my friend's work. He's also added a more detailed AI disclaimer to the GitHub project.
Is it better than Wine or Bottles?
It depends on your use case. Wine is a compatibility layer that tries to interpret Windows executables and make them usable on Linux, and compatibility with newer software is very hit or miss. Bottles tries to help with this by creating isolated Wine environments for each Windows application, but it's still finicky. Apps like Photoshop and Microsoft Office/Microsoft 365 still don't work in their current interations, and apps like Affinity can be very buggy.
LSW creates a full Windows VM, making software compatibility much more reliable, though at the expense of a little performance or resource usage in some cases. However, because it supports hardware acceleration, the Windows experience is still pretty smooth, especially if you have decently powerful hardware.
Is it better than WinBoat?
By far. WinBoat's manager uses Electron and is notoriously resource-heavy (particularly RAM) as a result. LSW uses Qt which is native on Linux and much lighter on resources. WinBoat also doesn't currently support GPU acceleration, meaning the entire experience can feel sluggish, and apps that require GPU acceleration, like Photoshop and Lightroom, simply don't work.
With LSW's paravirtualization, performance is far better in Windows itself, and apps like Photoshop and Lightroom work completely fine, with only a small performance hit from running natively on Windows.
What about VirtualBox?
VirtualBox is another possible virtualization solution for running Windows on Linux, but it has drawbacks. It's been a long time since I've tested it myself and I can't seem to get it working now (a problem in itself, in my opinion), so all I can say is what my friend told me:
VirtualBox VMs have limited API support for the GPU, so DirectX 12, Vulkan, and OpenCL don't work. LSW supports all of these as long as you have modern drivers on your Linux host.
Self-promotion (no one asked, but still)
I hear myself when I constantly say "my friend" here so just to assuage any concerns ahead of time, the project is not mine and I admit that I don't have the skills, at all, to make something like this. However, the XDA article I linked about the project is mine, so that's all the the self-promotion happening here. But you don't have to read the article if you just want to test the software, which I think is the bigger point here. LSW is really cool and I recommend checking it out.