The Windows Subsystem for Linux is now open source
394 comments
·May 19, 2025elif
jchw
"More powerful than Linux" is silly. It's a VM. The most useful thing is that it does a bunch of convenience features for you. I am not suggesting that it is not extremely convenient, but it's not somehow more powerful than just using Linux.
You know what's even more convenient than a VM? Not needing a VM and still having the exact same functionality. And you don't need a bunch of janky wrapper scripts, there's more than one tool that gives you essentially the same thing; I have used both Distrobox and toolbx to quickly drop into a Ubuntu or Fedora shell. It's pretty handy on NixOS if I want to test building some software in a more typical Linux environment. As a bonus, you get working hardware acceleration, graphical applications work out of the box, there is no I/O tax for going over a 9p bridge because there is no 9p bridge, and there is no weird memory balloon issues to deal with because there is no VM and there is no guest kernel.
I get that WSL is revolutionary for Windows users, but I'm sorry, the reason why there's no WSL is because on Linux we don't need to use VMs to use Linux. It's that simple...
ActorNightly
Yeah if you are working with Linux only, its better to go full linux.
WSL2 is really handy when you want to run other software though. For example, I use Solidworks, so I need to run windows. Forscan for Ford vehicles also has to run under Windows. Having WSL2 means that I can just have one laptop and run any software that I want.
yndoendo
My development is mainly Windows and I prefer Linux host with Windows VM guests. The experience is more stable and I can revert to a snapshot when Windows or Microsoft product update brakes something or new test configuration does. It also allows to backup and retain multiple QA environments that are rarely used, like a client's Oracle DB. It is nice being able to save the VM state at the end of the week and shut it all down so you can start the next right where you left off. Cannot do that when your development environment is the bare metal OS. Windows has known issues of waking a sleeping laptop.
lolinder
In the same spirit if "it depends", there are other options that may work for people with different Linux/Windows balance points:
* Wine is surprisingly good these days for a lot of software. If you only have an app or two that need Windows it is probably worth trying Wine to see if it meets your needs.
* Similarly, if gaming is your thing Valve has made enormous strides in getting the majority of games to work flawlessly on Linux.
* If neither of the above are good enough, dual booting is nearly painless these days, with easy setup and fast boot times across both OSes. I have grub set to boot Linux by default but give me a few seconds to pick Windows instead if I need to do one of the few things that I actually use Windows for.
Which you go for really depends on your ratio of Linux to Windows usage and whether you regularly need to mix the two.
0xfeba
> Forscan for Ford vehicles also has to run under Windows.
I've successfully run it with WINE. Thought, my Forscan executable was 3 years old or so and that may have changed, but I doubt it.
null
null
therein
Did you know that Forscan works flawlessly under Wine if you're not using Bluetooth?
juancn
Technically it's not a VM, it's a subsystem, the same way Win32, Win64, Posix, OS/2, etc. are.
It's a feature of the NT-family of kernels where you can create many environments sharing the same underlying executive and HAL.
It's a quite interesting way to build an OS: https://en.wikipedia.org/wiki/Architecture_of_Windows_NT
jchw
As everyone said, WSL2 is actually virtual machines and it is what most people are actually using now. That said, I feel the need to chime in and say I actually love WSL1 and I love Windows NT the kernel. It bums me out all the time that we probably won't get major portions of the NT kernel, even an out-of-date version, in some open source form.
I like Linux, and I use Linux as my daily desktop, but it's not because I think Linux or even UNIX is really that elegant. If I had to pick a favorite design it would be Windows NT for sure, even with all its warts. That said, the company behind Windows NT really likes to pile a lot of shit I hate on top of that pretty neat OS design, and now it's full of dubious practices. Automatic "malware submission" on by default, sending apps you download and compile yourself to Microsoft and even executing them in a VM. Forced updates with versions that expire. Unbelievable volumes of network traffic, exfiltrating untold amounts of data from your local machine to Microsoft. Ads and unwanted news all over the UI. Increasing insistence in using a Microsoft account. I could go on and on.
From a technical standpoint I do not think the Linux OS design is superior. I think Linux has some amazing tools and APIs. dmabufs are sweet. Namespaces and cgroups are cool. BPF and it's various integrations are borderline insane. But at its core, ... It's kinda ugly. These things don't all compose nicely and the kernel is an enormous hard-to-tame beast. Windows NT has its design warts too, all over, like the amount of involvement the kernel has in the GUI for historical reasons, and the enormous syscall surface area, and untold amounts of legacy cruft. But all in all, I think the core of what they made is really cool, the subsystems concept is super cool, and it is an OS design that has stood up well to time. I also think the PE format is better than ELF and that it is literally better for the capabilities it doesn't have w.r.t. symbols. Sure it's ugly, in part due to the COFF lineage, but it's functionally very well done IMO.
I feel the need to say this because I think I probably came off as a hater, and tbh I'm not even a hater of WSL2. It's not as cool as WSL1 and subsystems and pico processes, but it's very practical and the 9p bridge works way better than it has any right to.
Thanks for pointing this out.
enragedcacti
WSL 2 is actually virtualized despite the name
ori_b
It used to be. They moved to a VM.
Turns out that it's easier to emulate a CPU than syscalls. The CPU churns a lot less, too, which means that once things start working things tend to keep working.
zargon
WSL1 was a subsystem. WSL2 is mostly a VM.
oblio
They had to give that up because it was too slow, I think for IO. Unfortunate.
0x457
> "More powerful than Linux" is silly. It's a VM.
I don't think it's silly. Sure, it's a VM, but it's so nice that I barely reboot into Linux. You get the best of both worlds with WSL.
lxgr
For me, the best part of running Linux as the base OS is not having to deal with Windows.
No ridiculous start menu spam; a sane, non-bloated operating system (imagine being able to update user space libraries without a reboot, due to being able to delete files that other processes still have opened!); being able to back up my data at the file level without relying on weird block-level imaging shenanigans and so much more.
How is inverting the host/guest relationship an improvement on that?
xnickb
But you still get the worst of the Windows world, which is more than many are willing to deal with. I was using windows for years as my main gaming OS, but after they announced W11 being the only way forward. Switching to Linux on the desktop was like a breath of fresh air. I'll leave it at that.
If I were to run an OS on a VM it's gonna be windows, not Linux
zymhan
The integration between Windows and the WSL VM is far deeper than a typical VM hypervisor.
You cannot claim with a straight face that Virtualbox is easier to use.
cogman10
It's deeper but let's not overblow it.
I think the two fairly deep integrations are window's ability to navigate WSL's filesystem and wslg's fairly good ability to serve up guis.
The filesystem navigation is something that AFAIK can't easily be replicated. wslg, however, is something that other VMs have and can do. It's a bit of a pain, but doable.
What makes WSL nice is the fact that it feels pretty close to being a native terminal that can launch native application.
I do wish that WSL1 was taken further. My biggest grip with WSL is the fact that it is a VM and thus takes a large memory footprint. It'd be nice if the WSL1 approach panned out and we instead had a nice clean compatibility wrapper over winapi for linux applications.
damion6
[dead]
nottorp
> I get that WSL is revolutionary for Windows users
It is... I'm working these days on bringing a legacy windows only application to the 21st century.
We are throwing a WSL container behind it and relying on the huge ecosystem of server software available for Linux to add functionality.
Yes that stuff could run directly on windows, but you'd be a lot more limited in what's supported. Even for some restricted values of supported. And you'd have to reinvent the wheel for a few parts.
codr7
I definitely prefer working in Linux.
But having Windows tightly integrated when needed is nice.
If only I could run replace the Windows shell with a Linux DE...
pjmlp
The last time I deployed Linux servers on bare metal was about 2010.
Apparently Linux VMs on other people's computers is very much appreciated.
high_na_euv
So, how you run Windows on Linux like WSL does?
zakki
Methods I know are using qemu/Wine/proxmox/VirtualBox.
thewebguyd
You can accomplish the same with Distrobox on Linux, but there's definitely something to be said about having the best of both worlds by running Windows + WSL.
I honestly think Microsoft could win back some mind share from Apple if they:
* Put out a version of windows without all the crap. Call it Dev edition or something and turn off or down the telemetry, preinstalled stuff, ads, and Copilot. * Put some effort into silicon to get us hardware with no compromises like the Macbooks
I'm on Mac now, and I jump back and forth between Mac laptop and a Linux desktop. I actually prefer Windows + WSL, but ideologically I can't use it. It has potential - PowerToys is fantastic, WSL is great, I actually like PowerShell as a scripting language and the entire new PC set up can now be done with PowerShell + Winget DSC. But, I just can't tolerate the user hostile behavior from Microsoft, nor the stop the world updates that take entirely too long. They should probably do what macOS and Silverblue, etc. do and move to an immutable/read-only base and deploy image based updates instead of whatever janky patching they do now.
Plus, I can't get a laptop that's on par with my M4 Pro. The Surface Laptop 7 (the arm one) comes close, but still not good enough.
nightski
I'm not saying it's a perfect solution, but with Windows 11 Pro and group policy I was able to disable all of the annoying stuff, and because it is group policy it has persisted through several years of updates. It is annoying you have to do this, and it does take some time to get set up right. But it's a solution.
That said I'd pay for a dev edition as you described it, that would be fantastic.
eahm
You can make your own clean version, legally, with this file. https://schneegans.de/windows/unattend-generator.
I get customers and most people don't know about it but it's kind of ridiculous that techy people in a tech forum don't know how to do it.
airstrike
There is no flavor of Windows 11 that is acceptable. Even the UI itself is a disaster. A cornucopia of libraries and paradigms from React Native to legacy APIs as if an interdimensional wave function of bad ideas had collapsed into an OS, but with ads.
baq
> I can't get a laptop that's on par with my M4 Pro.
This is the only reason I have not requested a windows laptop from my company. WSL is better for docker development in basically every way than a mac can be (disclaimer: haven't tried orbstack yet, heard good things, but my base assumption is it can't be better than WSL2) except it is literally impossible to get hardware as good as the M3 or M4 for any other OS than macOS.
lodovic
I replaced my m1 with a snapdragon laptop running Win11 and upgraded that to pro. For what I do with it, it runs great with very long battery times, for less than Apple quoted to repair the m1. I don't use the copilot features and haven't seen any ads so far, except maybe for office during setup.
chrsw
This would be fantastic. But Microsoft doesn't have to do this. Their users are captives.
oblio
Some of them are.
But the increasing market share of Macs and even Linux these days plus the ever increasing of OSS initiatives from Microsoft points out that Microsoft knows a lot fewer of their users are as captive as they were in the 90's, for example.
KingOfCoders
(Used 15ys OSX, now Win11)
The biggest difference between OSX and Windows is, Apple adds (some say steal) functionality from competition, and open source. They make it neat. On windows to have something working, you need a WezTerm, Everything for search, Windhawk for a vertical taskbar on the right, Powertoys for an app starter, Folder Size for disc management etc. If you spend a lot of time, Win11 can be ok to work with.
If Powerpoint and Affinity would work on Linux, I'd use Linux though.
pathartl
Maybe just for your specific preferences. Terminal is plenty fine. Vertical taskbar on the right is straight up user preference. PowerToys for an app starter? Like Alfred? The start search does a decent enough job of that. Folder Size is nice, but enumerating all files is very taxing.
GoblinSlayer
>Windhawk for a vertical taskbar on the right
Huh? Windows supports vertical taskbar.
alex_smart
I don't think Microsoft losing the mind share has anything to do with software. Macbooks are winning the laptop war because of superior hardware.
pathartl
Superior hardware with terrible software. Also they straight up artificially limit their hardware so they don't cannibalize their sales, which is slightly understandable, but they do it in the dumbest ways. My SOs MacBook Air can only do one external monitor, even though it has the same specs as her work Pro. Oh and good luck actually getting that external display to work, I swear only like 50% of USB-C docks work on the platform.
jsmith99
There's a dedicated settings page for quickly setting popular dev settings such as showing extensions and full paths. Getting rid of the rest just involves tweaking a few other settings like don't show tips or welcome screen. I also hide the weather and news widget because it's tabloid rubbish but many people seem to love it.
zczc
> a version of windows without all the crap
LTSC is a version like that
chrsw
> "Microsoft doesn't make any release from the Long-Term Servicing Channel available for regular consumers. The company only makes it available to volume licensing customers, typically large organizations and enterprises. This means that individual users cannot purchase or download Windows 11 LTSC from Microsoft's website."
https://www.windowscentral.com/software-apps/windows-11/what...
Chris2048
> without all the crap
as far as MS are concerned, that crap is their business.
Or, possibly, that crap is the multitude of little software empires build by the management layer now in control..
wkat4242
Well, WSL is Linux. It's really just a VM of it (since WSL2, WSL1 was actually running on the windows kernel which was pretty cool).
The big drawback to WSL to me is the slow filesystem access because NTFS sucks. And having to deal with Windows in the first place.
Ps I wouldn't worry about your karma. It's just a number :P
arghwhat
NTFS is not the problem.
The problem is Windows IO filters and whatnot, Microsoft Defender trying to lazily intercept every file operation, and if you're crossing between windows and Linux land, possibly 9pfs network shares.
WSL2's own disk is just a VM image and fairly fast - you're just accessing a single file with some special optimizations. Usually far, far more responsive than anything done by windows itself. Don't do your work in your network-shared windows home folder.
cma
>The problem is Windows IO filters
Not the biggest issue of them, 'find' and 'git status' on WSL2 in a big project is still >100 times slower on windows dev drive which avoids those filters than it is with WSL 1 on dev drive.
WSL 1 on regular ntfs with defender disabled is about 4x slower than WSL1 on dev drive, so that stuff does cause some of it, but WSL2 feels hopelessly slow. And wsl 2 can't share memory as well or take as much advantage of the filesystem cache (doubling it if you use the windows drive in both places I think, unless the network drive representation of it doesn't get cached on the WSL2 drive.
teruakohatu
I use it, I am required to use Windows, and it’s a huge improvement over doing Data Science on native Windows, but the terrible filesystem access ruins what otherwise would be a seamless experience.
It’s fine for running small models but when you get to large training sets that don’t fit in RAM it becomes miserable.
There is a line where the convenience of training or developing locally gives way to a larger on demand cloud VM, but on WSL the line is much closer.
deetz
still use WSL1 also because VMWare runs so dreadfully slow with any kind of Hyper-V enabled - if so, VMWare must also use it, so you get a Type-2 running under a Type-1 the lag is untennable lag and performance.
xPaw
Slow IO is why I still use wsl1.
psyclobe
This. WSL was SO much more interesting in v1 times.
ohashi
I liked the networking in WSL1 more too
phendrenad2
Where are you experiencing filesystem slowness? I've been using WSL in some advanced configurations (building Win32 apps by cross-compiling from Linux CLANG and dropping the .exe into a Windows folder, copying large files from Linux->Windows and vice versa, automating Linux with .BAT files, etc.) and I haven't seen this slowness at all.
ActorNightly
>The big drawback to WSL to me is the slow filesystem access because NTFS sucks
Thats if you are going from VM/host. If you use the allocated space for VM, its pretty fast.
JackSlateur
Is it really a NTFS issue ?
The culprit would be the plan9 bits (think of smb or nfs but .. wilder ? why are they using 9P again ?)
garblegarble
I'm guessing they use plan9 because distros already ship support for it, and it's super simple compared to NFS? It doesn't seem like CIFS/NFS would be any faster, and they introduce a lot more complexity.
jmmv
> NTFS sucks
Watch https://www.youtube.com/watch?v=qbKGw8MQ0i8 please.
garblegarble
While I can see the subtle distinction you're trying to draw people's attention to (NTFS is not the problem, filesystem operations generally on Windows are the problem) I have to say it seems like a distinction without a difference in real terms. They made a range of changes that seem to produce more complicated code everywhere because the overhead of various filesystem tasks are substantially higher on this OS vs every other OS.
But in the end they had to get the OS vendor to bless their process name anyway, just so the OS would stop doing things that tank the performance for everybody else doing something similar but who haven't opened a direct line up with the OS vendor and got their process name on a list.
This seems like a pain point for the vendor to fix, rather than everybody shipping software to their OS
ndriscoll
I find it to be incredibly janky. Pretty much every every time my computer sleeps (so every morning, at least) I have to restart it because somehow the VM-host networking gets screwed up and VS code connections into the VM stop working. You also can't just put things in your Windows User directory because the filesystem driver is so slow that git commands will take multiple seconds, so now you have two home directories to keep track of. There were also some extremely arcane things I had to fix when setting it up involving host DNS and VPN adapter priority not getting propagated into the VM so networking was completely broken. IIRC time would also not match the host after a sleep and get extremely far out of sync, though I haven't run into that for a while since now I have to reboot Windows constantly anyway.
I don't have a need to run multiple OSes though. All of my tools are Linux based, and in companies that don't let people run Linux, the actual tools of the trade are almost all in a Linux VM because it's the only reasonable way to use them, and everything else is cross-platform. The outer OS just creates needless issues so that you now need to be a power user with two operating systems and their weird interactions.
phendrenad2
> somehow the VM-host networking gets screwed up
> extremely arcane things I had to fix when setting it up involving host DNS and VPN adapter priority not getting propagated into the VM so networking was completely broken
Are you sure you set up the VPN properly? Messing around with Linux configs is a good way to end up with "somehow" bugs like that.
ndriscoll
I don't know how it's set up. That's kind of my point though. I have to now be an expert in Linux and Windows to debug this stuff, which is a waste of my time as someone who's job it is to develop (server, i.e. Linux) software. I had exactly zero issues when I was using Fedora. At one point my company made all of the Linux users move off (we do now have an IT-supported Linux image, but I haven't found the time to re-set up my laptop and don't fully trust that it will work without a bunch of trouble/IT back-and-forth because they also made Windows users start using passkeys), and since then I've seen way more issues with Windows than Linux (e.g. one day my start menu just stopped reacting to me clicking on programs), in addition to things like ads in the lock screen and popups for some XBox pass thing that I had to turn off, which is just insane in a "professional" OS. A lot of days I end up having to hold down the power button to reboot because it just locks up entirely.
OSX was a bit janky with docker filesystem slowness, homebrew being the generally recommended package manager despite being awful (why do I sometimes tap a cask and sometimes pour a bottle? Don't tell me; I don't care. Just make it be "install". Also, don't take "install" as a cue to go update all of my other programs with incompatible versions without asking), annoying 1+ second animations that you can't turn off that make it so the only reasonable way to use your computer is to never maximize a window (with no tiling support of course), and completely broken external monitor support (text is completely illegible IIRC), but Windows takes jank to another level.
arcastroe
Thats odd. I have none of these problems. Sleep doesnt interrupt the VM. And I regularly use the git CLI through WSL on projects living within windows user directories. Both work fine.
Flamentono2
I think you might want to give more context.
I use linux. I don't need WSL at all. Not at work nor at home.
So you praise WSL because you use Windows as your main system? Than yes its great. It definitly makes the Windows experience a lot better.
OpenSSH for Windows was also a game changer. Honestly, i have no clue why Microsoft needed so long for that.
raggi
Openssh should have been a game changer but they made a classic openssh porting bug (not reading all bytes from the channel on close) and have now been sat on the fix in “prerelease” for years. I prodded the VP over the group about the issue and they repeatedly made excuses about how the team is too small and getting updates over to the windows team is too hard. That was multiple windows releases ago. Over on GitHub if you look up git receive pack errors being frequent clone problems for windows users you’ll find constant reports ever since the git distribution stopped using its own ssh. I know a bunch of good people at Microsoft, but this leadership is incapable of operating in a user centric manner and shouldn’t be trusted with embedded OSS forks.
frollogaston
I'm a simple man, if I open the shell and `ssh foo@bar.com` doesn't work, I don't use that computer. Idk if Windows has fixed that yet or why it's so hard for them. Also couldn't even find the shell on a Chromebook.
null
JonChesterfield
putty is longer necessary? That would be a wild upgrade in usability for the work laptop, shall go try it
baq
openssh has been an optional windows component for... almost a decade now? including the server, so you can ssh into powershell as easily as into any unix-like. (last time I set it up there was some fiddling with file permissions required for key auth to work, but it does work.)
alex_smart
Dylan16807
On the other hand sometimes the GUI on WSL decides to break and you have to restart the whole thing.
MarkusWandel
My acid test for WSL2 was to install the Linux version of Google Chrome in it, and then play Youtube videos fullscreen with that. It worked. Somehow WSL1 was the more impressive hack but how can you argue with what works? WSL2 works fine.
Also 1980s style X11 widgets on the Windows desktop in their own windows? Cool.
MarkusWandel
I have to say too, though, once you get the hang of the way an EFI system boots, it's really good for dual boot. I let the Linux installer mount the undersized existing one as /boot/orig_efi and made a new, bigger EFI system partition. Not only was the UEFI on that particular laptop fine with it, scanning both EFI system partitions for bootable stuff, but also, grub2 installed in the new one automatically included the Windows boot in the old one as a boot option.
Cool because nothing about how Windows boots is intercepted; you can just nuke the new partitions (or overwrite them with a new Linux installation). I still prefer a native Linux boot with "just in case" Windows option to WSL.
phendrenad2
I don't think people are using WSL to avoid problems with dual booting. Dual-booting has become about as simple as it can be, thanks to UEFI, but it's still not exactly fun to have to close all of your open apps to switch to another OS to run just one app.
efdee
But not having to dual boot and just get both worlds at the same time definitely beats having to dual boot.
rich_sasha
Forced to work on Windows for ++nth job, I was looking forward to WSL. Indeed, while it worked, it was magic. Sadly, I have had no end of bizarre bugs. The latest one almost crashed my whole desktop - as far as I can piece together, something crashed, leading to a core dump the size of my desktops entire memory - half the machine's RAM. This in turn put WSL in a weird state - it would neither run, not be uninstallable. Googling found bug reports with similar experiences, no responses from Microsoft and magic incantation that maybe worked for some people - but not for me.
It might be due to my corpo's particular setup etc. but for me 95% of the value of WSL would be the ability to run it on "corporate" Windows boxes. Alas.
pton_xd
Running a Linux VM on Windows is nicer than just booting into Linux? That's quite a take. Windows is so user-hostile these days that I feel bad for those who have to deal with it. Calling it delightful must be symptomatic of some sort of Stockholm syndrome.
alex_smart
> symptomatic of some sort of Stockholm syndrome
I have since moved to macbooks for the hardware, but until not too long ago WSL was my linux "distro" of choice because I didn't want to spend time configuring my computer to make basic things work like suspend/wake on lid down/up, battery life, hardware acceleration for video playback on the browser, display scaling on external monitor and so on.
dismalaf
Who deals with this? All this is fine out of the box on a modern Linux distro.
encom
You need new reasons to hate Linux, because all those issues were solved a while ago.
frollogaston
If for some reason I could never use a MacBook again, it wouldn't be easy to decide between Windows or Linux as the host OS on a laptop. Do I want something that's intentionally user-hostile or something that's unintentionally broken a lot?
I'd at least try Linux cause I abhor Microsoft, but idk if it'd work out.
PaulHoule
Maybe it is both-sidesism but the motd you get by default on Ubuntu these days is as bad as any OS. (“Ubuntu Advantage” sounds about as good as https://prospect.org/health/2024-01-12-great-medicare-advant...)
At least the nags in Windows look like modern web-based UI (so far that ‘use Electron’ seems to be the post-Win 8 answer to ‘how to make Windows apps’) in contrast to MacOS which drove my wife crazy with nag dialogs that look like a 1999 refresh of what modal dialogs looked like on the classic Mac in 1984.
jjcm
When WSL came out I was absolutely overjoyed - finally an actual linux shell on windows! I use windows for my gaming pc, and I wanted to have a unified gaming/dev box. It felt like the solution.
Over time though more and more small issues with it came up. Packages working not quite right, issues with the barriers between the two, etc. It always felt like there was a little bit more friction with the process.
With Valve really pushing Proton and the state of linux gaming, I've recently swapped over to Ubuntu and Nixos. The friction point moved to the gaming side, but things mostly just work.
Things on linux are rapidly getting better, and having things just work on the development side has been a breath of fresh air. I now feel that it's a better experience than windows w/ WSL, despite some AAA titles not working on linux.
nickserv
Just curious, which games gave you problems?
zamadatix
Unfortunately many of the more popular multiplayer games with anti-cheat tend to consider "made working on Linux" a bug rather than a feature. E.g. Easy Anti-Cheat and Unreal Engine both support Linux natively but Epic still doesn't want to allow it for their own game, Fortnite. https://x.com/TimSweeneyEpic/status/1490565925648715781
npteljes
For the curious, the protondb front page gives a pretty good overview of the state of Linux gaming:
Scrolling to Medals, 50% of all 25.000+ games tracked by the site are playable, either working perfectly or mostly (Platinum or Gold ratings). Another 20% can be alright under specific circumstances, and with compromises (Silver rating).
jjcm
Overwatch is the big one - lots of random issues with it. But basically any game with Denuvo DRM is extremely high risk, resulting in either a ban or the game not running at all.
zamalek
Denuvo counts each proton version as a unique activation, might help you avoid this issue going forward
delduca
For me, Red Dead Redemption 1 via Proton does not work on Pop_OS + NVIDIA.
1oooqooq
i think everyone tried that. gpu (games etc) are the only thing holding windows relevant at this point.
i have some 2012 projects were the makefiles also build in msvc. never again.
then 2015 projects with build paths for cygwin. never again.
then some 2019 projects with build scripts making choices to work on msys2/git-bash-for-windows. never again.
now we can build on WSL with just some small changes to an env file because we run a psql container in a different way under wsl... let's see how long we endure until saying never again.
sertraline
It always infuriates me when people say Windows is all about games. Techies are so detached from reality they forget that people have creative hobbies and have to use industrial grade software. Doing creative hobbies on Linux is an act of sadomasochism. And on top of that, Linux and MacOS cannot run software from 3 years ago while Windows can run software from 35 years ago. And on top of that, Linux is completely unusable to Japanese/Chinese speakers due to how hard it is to input the moon runes, and on top of that Wayland breaks the least painful setup that you could have earlier. And on top of that, Wayland people shown a middle finger to all the people who need accessibility features.
No, Windows is not about games, Windows is about being an objectively the most stable pile of garbage there is.
kmacdough
For consumers. A load of professional software still exists only for Windows, particularly as you do more niche.
mulmen
> gpu (games etc) are the only thing holding windows relevant at this point.
I actually switched to Linux full-time when Starfield wouldn’t run on Windows but worked in Proton. We are now in a world where Valve provides a more sable Windows API than Microsoft. The only limitation now is anti-cheat but that’s a political problem, not a technical one.
7bit
For me it's Adobe Phuckushop. But yeah, always that one thing holding one back from swapping
liendolucas
I would do it the other way round: use Windows in a virtual machine from Linux. If you are in Windows and have the urge to use Linux, do the proper switch once and for all. You will never look back. I haven't in almost 15 years.
Given what Windows has become and already discussed here on HN I would even hesitate to run it in a virtual machine.
Edit: more than 15 years.
MrPowerGamerBR
Except that if you require anything that is GPU-related (like gaming, Adobe suite apps, etc) you'll need to have a secondary GPU to passthrough it to the VM, which is not something that everyone has.
So, if you don't have a secondary GPU, you'll need to live without graphics acceleration in the VM... so for a lot of people the "oh you just need to use a VM!" solution is not feasible, because most of the software that people want to use that does not run under WINE do require graphics acceleration.
I tried running Photoshop under a VM, but the performance of the QEMU QXL driver is bad, and VirGL does not support Windows guests yet.
VMWare and VirtualBox do have better graphics drivers that do support Windows. I tried using VMWare and the performance was "ok", but still not near the performance of Photoshop on "bare metal".
hermitShell
I don’t know why there aren’t full fledged computers in a GPU sized package. Just run windows on your GPU, Linux on your main cpu. There’s some challenges to overcome but I think it would be nice to be able to extend your arm PC with an x86 expansion, or extend your x86 PC with an ARM extension. Ditto for graphics, or other hardware accelerators
teaearlgraycold
Quite a lot of people have both integrated Intel graphics and a discrete AMD/NVidia card.
Aurornis
> I would do it the other way round: use Windows in a virtual machine from Linux.
Every Windows thread on HN is a reminder of the stark divide between people who need to use Windows for productivity apps and those who don’t.
The apps I need a Windows machine for are not the kind that virtualize nicely. Anything GPU related means Windows has to become the base OS for me.
If you’re running an occasional light tool you can get away with Windows in a VM, but it’s a no-go for things like CAD or games.
ghotli
Counterpoint: things like the Valve Index for VR simply don't behave well in this environment no matter how much I've worked on getting it there.
I'm not a novice either, $dayjob has me working on the lowest levels of Linux on a daily basis. I did linux from scratch on a Pentium 2 when I was 12. All that to say yes I happen to agree but edge cases are out there. The blanket statement doesn't apply for all use cases
ActorNightly
The big difference is hardware access.
I used to do VFIO with hardware passthrough so I could have linux but still run windows software like CAD that takes advantage of the gfx card. That was a pain to set up and use.
The other way, its very simple. WSL2 can run ML tasks with just a tiny bit of overhead in moving the data to the card.
password4321
Related: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-... (edit: not https://developer.microsoft.com/en-us/windows/downloads/virt...)
> We currently package our virtual machines for four different virtualization software options: Hyper-V (Gen2), Parallels, VirtualBox, and VMware. These virtual machines contain an evaluation version of Windows that expires on the date posted. If the evaluation period expires, the desktop background will turn black, you will see a persistent desktop notification indicating that the system is not genuine, and the PC will shut down every hour.
Edit: Oops, dead link -- the dev tools evaluation VM hasn't been released for 6+ months. But they do offer Windows evaluations ISO's after registration.
kobalsky
Running Windows from a ZFS partition with its own dedicated GPU, viewed through looking-glass on the Linux host at 1440p@120Hz, has been super useful.
I set it up originally for gaming, but nowaways I install a lot of disposable software there.
I use Linux guests VMs too (a la Qubes), but sadly there's no guest support for looking-glass on Linux. Native rendering speeds on VMs are something hard to let go.
arcastroe
I've considered it, but there are two Windows features I need that sound like they'd require some time investment to set up correctly on linux.
1. I use UWF on windows (Education Edition). All disk writes to C:/ are ephemeral. On every single reboot, all changes are discarded and my pc is back to the exact same state as when I first set it up. I do keep a separate partition for documents that need persistence.
2. Miracast for screen mirroring.
NelsonMinar
That works pretty well except for gaming. A lot of games detect if they are running in a VM and refuse to let you play, as an anti-cheat measure.
Matl
OT but the name irks me; Windows subsystem for Linux makes it sound like some sort of official Wine layer. It's a Linux subsystem for Windows if anything.
It makes it sound like Microsoft is giving some capability to Linux whereas it's the other way around.
avestura
Microsoft can't name a project leading with a trademark (Linux <something>), hence why it's called WSL.
Source: https://x.com/richturn_ms/status/1245481405947076610?s=19
whoopdedo
IBM marketed "OS/2 for Windows" which made it sound like a compatibility layer to make Windows behave like OS/2. In truth it was the OS/2 operating system with drivers and conversion tools that made it easier for people who were used to Windows.
loloquwowndueo
Untrue. OS/2 for windows leveraged the user’s existing copy of windows for os/2’s compatibility function instead of relying on a bundled copy of windows, like the “full” Os/2 version.
Os/2 basically ran a copy of windows (either the existing one or bundled one) to then execute windows programs side by side with os/2 (and DOS) software.
philshem
If you want to see the thread
https://xcancel.com/richturn_ms/status/1245481405947076610?s...
ryao
It was previously called the Windows Subsystem for Android before it pivoted. It had a spiritual predecessor called Windows Services for UNIX. I doubt the name had been chosen for the reasons you say, considering the history.
That said, to address the grandparent comment’s point, it probably should be read as “Windows Subsystem for Linux (Applications)”.
avestura
>for the reasons you say
That's not what I say, that's what the former PM Lead of WSL said. To be fair, Windows Services for UNIX was just Unix services for Windows. Probably the same logic applied there back then: they couldn't name it with a leading trademark (Unix), so they went with what was available.
koakuma-chan
GNU/Linux Subsystem for Windows
rsynnott
There's history here; there was an old thing called Windows Subsystem for Unix. Again, not what you'd expect from the name.
zamadatix
Windows' Subsystem for Linux :p.
littlestymaar
It's a “Windows subsystem” for running Linux, but yeah the naming is pretty confusing.
asim
Wow. In 2009, when it looked like Microsoft was the most closed company of all time, I was telling people at work, they should port windows to the linux kernel. What happened over the next 15 years, I don't think people would have believed it if you told them back then. Things have changed.. ALOT. Now granted, this isn't what I said they should do, but you know, eventually they might see the light.
Night_Thastus
I've been using WSL on and off for Linux development for the last few years.
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.
stevenwoo
I think I'm still on a beta version because I'm afraid to update it and breaking all the stuff I have working.
mrpippy
Note that this doesn't include lxcore.sys, the kernel side driver that powers WSL 1.
(Also, I'm surprised that WSL 1 is still supported. It must be in maintenance mode though, right?)
charcircuit
No, both are still fully supported despite what the numbering may suggest.
pjmlp
Given the layoffs round from last week, in a record earnings year, I wonder if this is a side effect of those layoffs.
tgma
How would a 3% layoff in a big company affect anything unless they want to specifically axe some project? It’s just lubrication for the machine. 3% is less than nothing compared to the bloat in any bigco and let me tell you Microsoft’s reputation is not the leanest of the bunch.
jayd16
They're not uniform across every team and project. Certain projects can be hit very hard while others are not. Outside looking in, all we can really do is speculate.
tgma
Sure we can speculate that 3% is not news. Again, it’s a one way conclusion: I concede if they want to axe a project deliberately, that could show up in the layoff, but projects won’t incidentally get impacted because of a 3%. The causal relationship would be the opposite.
bitmasher9
Didn’t Microsoft use to have annual 10% layoffs? Just culling the lowest performers every year.
int_19h
If you mean stack ranking, the hard 20/70/10 bucketing was in force >15 years ago, but even then it didn't mean that those 10% automatically get fired.
littlestymaar
It's really hard to cut actual bloat when running layoffs, because the more you work the less time you have to do politics and save your ass, so the less productive type of people tend to be pretty resilient to layoffs.
tgma
Have you worked at any of these large companies? It’s really easy actually (practically, not emotionally). It’s usually very obvious and there’s consensus who the bottom 10% are. Politics would affect promotions much more than layoff.
jayd16
Can't help but be pessimistic about this or any news coming out of Build, given the circumstances.
jleyank
Check the license and its details. This might be great, or it might be MS looking to get free help. Especially with dev layoffs.
wging
jleyank
IANAL, but how is this license different from, say, the older BSD license - thought that was "have fun, do what you want, post a notice"? It doesn't say anything regarding ownership of changes, nor how to add copyright for such changes... Does this mean that MS is looking to own changes, or will there be a string of extra copyright notices for each (significant?) change?
jcranmer
The MIT license scrunches the first two clauses of the 3-clause BSD license into a single clause, and omits the third clause (the nonendorsement clause, which is already generally implied). As a practical matter, most of the basic "simple" open source licenses are functionally identical.
blindstitch
I would love if the bug(s) with working on the windows filesystem from within wsl could now be fixed. https://github.com/microsoft/WSL/discussions/9412#discussion...
1oooqooq
Microsoft too.
Boogie_Man
Why isn't it "Linux Subsystem for Windows" as it is a Linux subsystem running on a Windows os?
aaronbaugher
I think it's because WSL refers to the Windows subsystem that allows you to run Linux, not to the Linux system itself. You still have to download and install Linux on top of it, or at least you did the last time I used it a few years ago.
transpostmeta
I always assumed it was because it was a Subsystem for Linux that allowed it to be run as a guest on a Windows host. But your version works too.
Microsoft ist really terrible at naming things, that's for sure.
CivBase
It's hard to argue it's even a subsystem anymore. More like "Integrated Linux VM for Windows".
behnamoh
meanwhile Apple won't even make it easy to boot Asahi Linux on Apple Silicon.
jeroenhd
Buying Apple hardware with the intent on running anything but what Apple wants you to run is setting yourself up for a battle, including trying to use non-Apple hardware with the hardware you purchased. It's why I'm not spending any personal money on Apple hardware.
Could've been worse. At least they're not locking you out of your device like on iPhones and iPads. They don't stop you from running Asahi, they just aren't interested in helping anyone run Asahi.
Microsoft, on the other hand, sells laptops that actively prevent you from running Linux on them. Things get a little blurry once you hit the tablet form factor (Surface devices run on amd64, but are they really that different from an iPad?) where both companies suck equally, though Microsoft also sells tablets that will run Linux once someone bothers to write drivers for them.
int_19h
On the macOS side, https://github.com/lima-vm/lima is the closest equivalent to WSL.
Parallels also has a commercial offering that does some nice GUI-level integration with both Windows and Linux VMs.
My understanding is that these are both built on top of some Apple API, and Parallels actually collaborates with Apple on making it work for their use case. So it's not the first-class support that you get from Microsoft with WSL, but it's still pretty good.
rfoo
Nah, the closest thing to WSL on macOS is OrbStack.
Exactly same experience to WSL - great out of the box experience, easy to use, and insist on using their own patched kernel.
lenerdenator
Apple's opinion is probably that if you want to run a *NIX-like OS on their hardware, you should use MacOS.
Which is... not necessarily wrong.
tgma
Apple has gone out of their way to build first party virtualization APIs in their OS to boot a Linux VM directly by specifying kernel and initrd on disk. That would be a direct point of comparison to WSL, not Asahi. What are you talking about?
[1]: https://developer.apple.com/documentation/virtualization/vzl...
P.S. They also specifically built Rosetta for Linux to compile x64 Linux binaries into aarch64 to run inside Linux VMs on their machines.
mschuster91
Apple might not be releasing documentation on their peripherals, but they went out of their way in making it possible in the first place.
Apple could just have gone and do a straight port of the iOS boot procedure to their ARM Mac lineup... and we'd have been thoroughly screwed, given how long ago the latest untethered bootrom exploit was.
Or they could have pulled a Qualcomm, Samsung et al and just randomly change implementation details between each revision to make life for alt-os implementers hell (which is why so many Android BSP dumps are the way they are, with zero hope of ever getting anything upstream). Instead, to the best of my knowledge the UART on the M series SoCs dates back right to the very first iPod.
The fact that the Asahi Linux people were able to create a GPU driver that surpasses Apple's own in conformance tests [1], despite not having any kind of documentation at all is telling enough - and not just of the pure genius of everyone involved.
[1] https://appleinsider.com/articles/23/08/22/linux-for-apple-s...
ActorNightly
Macs are almost universally seen as developer computers. If you are going to be developer friendly, then you need to do things that are developer friendly. Asahi project is 80% reverse engineering stuff.
bigyabai
Let's be honest, nobody earnestly expected them to care about running native Linux in the first place. You knew what you got into when you bought the Mac.
trollied
What? Apple made changes to actually help them.
Every time I praise WSL on hn I pay the karma tax but I will die on this hill. WSL is more powerful than Linux because of how easy it is to run multiple OS on the same computer simultaneously. It's as powerful as Linux with some janky custom local docker wrappers for device support, local storage mapping, and network mapping. Except it's not janky at all. It's an absolute delight to use, out of the box, on a desktop or laptop, with no configuration required.
Edit: for clarity, by "multiple OS" I mean multiple Linux versions. Like if one project has a dependency on Ubuntu22 and another is easier with Ubuntu24. You don't have to stress "do I update my OS?"