What Is WSL, Why did Microsoft integrate Linux into Windows, and what was the reasoning behind this decision?
To make windows more attractive and compatibile (my opinion)
To try making windows more attractive for developers
They thought there is a market for that and it’s something they always did. os2, posix, win32, dos, wow64 and now linux. there are/were plenty subsystems available.
WSL1 was more similar to cygwin, a re-implementation of a lot of POSIX/Linux API in Windows. It did not do so well and had a lot of gotchas and file corruption issues.
WSL2 runs a full hypervisor; a little Linux kernel in userland.
Microsoft has essentially lost the server market. The vast majority of shops run their products on Linux (in K8S, plain docker, full VMs, or some combination). Only people who love wasting money run Windows Server 2022/2025. The only reason Microsoft has stayed relevant is that .NET Core can run on Linux and Microsoft has official .NET containers.
WSL2 is really to facilitate that specific developer workflow.
Context, microslop still has a significant presence in server market especially on the lower end (smb and whatnot) or older businnesses that have always been microslop shops.
But its getting beaten with jumper cables by linux based whatever for any new project, especially at the high end where the money really is. They already pretty much lost the hypervisor segment to vmware a while ago.
For example the only hyperscaler using windows seriously is microslop themselves, in Azure.
Ai servers is another segment where they are getting bullied for their lunch money.
Pretty much all our SMB customers have transitioned to Microsoft online products, and the fewer that need on-premise file storage are using Synology hardware.
I would say maybe just if you need on-prem Active Directory or something like that, you would use these.
This is actually ose case that I have deployed as a part of my homelab.
I think mostly true, some still have IT that has become “OT” for the org. I think if I recall, the online products especially with AD are not 1:1 with entra ID, with the last one missing some features that I will not be naming. If you don’t need them, good for you, if you do, you generally might need to run both Windows Server Active Directory as well as Entra ID.
Yeap, helps you test how things work on linux, which is really the production environment, which means you need to test for it.
Not sure if attractive is the correct word anymore, mostly if I had to guess to retain some of the dev marketshare, and maybe on some level to have less reasons for devs to beg for their own thing since everyone in the org uses mostly the same product.
Massive amount of medical software is Windows only. Last job was at a hospital and we had 400+ VMs all running Windows Server. Every one was different and dedicated to one medical device or process.
I have never seen WSL in any type of production use, and every time I have tried to us it, I ran into bugs or issues.
I see as poor attempt from microslop to get devs to consider using Windows devices instead macos or depending on were you work Linux. I do a lot automation at current job and previous one and wsl2 sucked ass it buggy or consumed a unworldly amount of resources for the simplest tasks (my work laptop sounded like a jet engine ), until my boss heard it and just spinup a container on the test bed server or get docker or podman desktop
Good responses here but I think I have some addition lore to add…
Anyone remember OS/2 servers from the 90s? In order to deploy this new thing called Windows NT, Windows NT 3.51 came with a subsystem for OS/2.
It basically had a machine interrupter to convert OS/2 binaries in real-time to run on the 32bit Windows kernel (usually 16bit binaries at first).
This is the concept Window Subsystem for Linux V1.0 was designed on - to interrupt and run Linux binaries directly on the Windows kernel. Think “ls”, “cat” binaries built on Linux - running natively on Windows.
And it failed spectacularly, IMO. Such a monumental effort put into replicating all the /sys and /dev calls to that point. Only to actually be around 5-8% complete.
So they abandoned WSL1 for WSL2 - a glorified official Linux ISO downloader and wrapper around a Linux VM running on Hyper-V - with very tight (and exploitable!!!) integration into your local Windows user.
Anyhoot…
Why did Microslop put forth the effort in the WSL1 10 years ago? Because Linux desktops were gaining significant ground. I saw it as a desperate attempt to bring back those of us who had left to Linux.
This is exactly what the business I work for does. Boss feels we must use the MS apps. We also had no backups other than what was in our OneDrive and some local copies.
For years I’d been beating the drum that we at least need local backups.
Then we almost lost everything, had to go through hell with MS culminating with us ultimately loosing about 2 weeks of work.
Then surprise surprise I got my budget approved to setup a Synology NAS!
Same here.
Altough Synology is even more slop than Windows Server. SMB use it, because it is dirt cheap compared to MS. Probably the only thing even worse than Synology would be OneDrive. Which is even cheaper. At least, if you don’t factor in your time ![]()
Real work is done one Linux.
Now, imagine if MS have not integrated WSL. Companies would have to make the switch do Linux desktop. They would throw away MDM, your intune, maybe even realize they you don’t need AD/EntraID. Horror!
Most my dev friends have Windows laptops, that run Teams, Outlook, maybe HyperV. The meeting and middel management bs stuff happens on Windows. The work happens in a Linux VM, either locally in HyperV or remote.
True, same for a lot of “OT”-software, incl. CNC-machinery and their control software. I would guess something simular with machinery for embedded use cases that are on the older side. But there is a reason why you do have an OT & IT networks.
Same thing I think with professional event productions, since those mostly run on vMix, which I have actually had the displeasure of having to learn this summer for a project.
Also, I would assume a lot of CAD is built only for windows. I have some electricians in the house that have the knowledge to actually do electrical planning, and all that is done on windows since software is not available. Also videoediting seems like a thing that is not yet up to scratch to be first rate citizen.
Majority of VC funded tech companies I’ve worked at went for macos for desktops and linux in the data center.
WSL2 put windows near on an even footing with macos for that desktop role.
Best is linux on the desktop IMHO! But the majority of tech folks in my experience aren’t very comfortable with Linux.
Windows was losing developers to Mac and LInux due to their stacks being more similar to cloud and mobile stacks. WSL puts Windows back in that game, in theory.
Tons of established smb software is still windows only, at least in my country and experience. Either accounting or machine/factory control.
But that amounts to a few boxes or cloud vms nowadays, hardly a cash cow for microslop.
Its effectively running on fumes of their vendor lock in.
But even those things have been hardcore transitioning to saas with a web interface for years. So its all run on the vendor’s cloud.
During my time in IT we decommissioned far more winserver boxes or vms than we set up.