

Microsoft Open Sources Windows Subsystem for Linux (thenewstack.io) 73
Windows Subsystem for Linux (WSL) is now open source, Microsoft said Monday. The tool, which allows developers to run Linux distributions directly in Windows, is available for download, modification, and contribution. "We want Windows to be a great dev box," said Pavan Davuluri, corporate VP at Microsoft. "Having great WSL performance and capabilities" allows developers "to live in the Windows-native experience and take advantage of all they need in Linux."
First launched in 2016 with an emulated Linux kernel, WSL switched to using the actual Linux kernel in 2019 with WSL 2, improving compatibility. The system has since gained support for GPUs, graphical applications, and systemd. Microsoft significantly refactored core Windows components to make WSL a standalone system before open sourcing it.
First launched in 2016 with an emulated Linux kernel, WSL switched to using the actual Linux kernel in 2019 with WSL 2, improving compatibility. The system has since gained support for GPUs, graphical applications, and systemd. Microsoft significantly refactored core Windows components to make WSL a standalone system before open sourcing it.
Linux is already a great Dev environment (Score:5, Insightful)
As MSFT clings to keeping you on the mothership, we are over here developing real apps on Linux and not worrying about Windows.
Re: (Score:3)
In the enterprise environment, Microsoft's core applications of Outlook, Teams and Office365 are available as cross-platform web based or PWA applications. I use Ubuntu 22.04 with a KDE Plasma desktop at work and I can access all the MS applications that I need to use on Linux. The days of the Microsoft lockin have dissolved away.
I don't have a MS Windows system for me to run WSL2 but I don't think that I am missing out. ;-)
Re: (Score:2)
Re: (Score:3)
Re: (Score:2)
Web versions aren't as integrated with the desktop.
That's the direction in which Microsoft is headed anyway. Teams is now a web application running in a box even when it's allegedly native, for example. And it shows, it's shit. It has all of the classic hallmarks like not correctly detecting when you've read messages so it doesn't have to raise itself for attention, and of leaving mouseover popup bullshit on screen after the mouse has left it, plus long load times and generally poor performance.
Re: Linux is already a great Dev environment (Score:2)
Re: (Score:2)
For context, I’ve worked with C64-TRS-VAX-DEC-SUN-SGI-DOS-WIN and maybe a couple of others, but primarily Windows.
WSL probably kept me on Windows longer than I should have stayed. I switched to Fedora this year and now only boot to Windows if I need to find something I forgot to migrate. I would never go back except maybe to a stable developer configuration of XP, 7, or 10. I haven’t even had t
Endgame is Win on top of an open source OS (Score:3)
Microsoft has been rewriting its legacy applications and plumbing slowly to make more of the Windows ecosystem ready to move on top of a different kernel.
It will get to the point that less and less of Azure cloud, less and less of the server applications, and less and less of a desktop OS plus business productivity software will be on Win32 Windows API.
Microsoft SQL Server was moved to run on Linux 8 years ago in 2017.
They did WSL totally backward. (Score:5, Insightful)
Was a mistake to make Windows the host and Linux the guest.
Gives you all the stability and security Windows is infamous for, with all the ease of use that Linux is infamous for.
Would have been far better to make Linux the host OS, and Windows the guest UI to replace Gnome.
Re: (Score:2)
Wish I had mod points, this needs more visibility.
Re: no (Score:2)
Fleet management has an actual meaning which has nothing to do with enterprise management, which is what the thing you're trying to describe is actually called.
With that said, a lot of shops don't even use Microsoft's enterprise management software, which is weird to me since that just means they're paying for more software. If they're going to do that, why also pay for Windows?
Fleet management and other SaaS (Score:2)
Agree. SaaS will mature until there are long term reliable vendor based industry specific software which does not cost a huge amount per user.
I'm expecting industry-specific SaaS which is FOSS in a few years in widespread use. It will be cheaper for large businesses to donate time and development to a FOSS industry specific SaaS than facing ever escalating fees from their for-profit SaaS vendor.
Re: (Score:2)
Yeah ok.
I do not know what world you live in but I have never seen a Linux desktop at work in my 30 years in the workforce. I have seen some ipads coming in for stuff like warehouse workers.
MDM like Intune or JamF is great for locking stuff down and rolling out apps on devices like tablets and even Windows desktops.
Until Excel, Quickbooks, Autocad, and every business software in existence gets ported Linux is not an option.
Re: (Score:2)
I do not know what world you live in but I have never seen a Linux desktop at work in my 30 years in the workforce.
When I went to work for Tivoli, which had just been acquired by IBM, they were assigning all of us two desktops. One to run OS/2 just to run ACME, a screen scraper for RETAIN, and one to run Windows and be our desktop. I scrounged the 9 net and found enough partial documentation to assemble some HTML step by step docs to explain how to use raw RETAIN, which was necessary sometimes anyway because the ACME and RETAIN teams were only really coupled through the product and not at all at the planning or leadersh
Re: They did WSL totally backward. (Score:2)
Re: (Score:2)
BTW, I've seen it personally where people will j
Re: (Score:2)
read: it is the only OS where they can keep control over the user
Talking about a corporate setting here, not an individual or home user:
Have you seen what users do when they're not restricted? As an IT guy, do you want to find yourself fired for gross incompetence because you didn't stop the CFO from inadvertently installing ransomware? You want to discover what it's like to have your company's entire CRM database exposed on the internet because a user replied to something they shouldn't have? In terms of IT, users range from the moderately well-informed to the absolutel
Re: (Score:3)
I think the same thing. Running linux in windows is like setting up a hospital operating room in the middle of a landfill.
Re: (Score:2)
Re: (Score:2)
Crazy people still think WIndows is like Dos based WIndowsME/98 and thinks have not progressed in a quarter century.
If Windows was so bad and insecure then why does corporate America use and trust to secure their data and run their apps?
Linux is not an option for 97% of people as their first time OS. I used to use Linux 25 years ago. Today I want to get work done and run games and have something just work. No nvidia wayland issues. Hardware accelerated smooth scroll and anti alaisgned fonts. Chrome goes bli
Re: (Score:3)
Corporate America uses Windows because it provides tools for locking down what the users can do, and because nobody gets fired for buying Microsoft. Not because corporate America has some kind of superior comprehension of security or quality.
I used to use Windows 25 years ago. Today I want to get work done and run games and have something just work. That means Linux all the way. Nothing else has the stability and performance, and most of all, allows me to use all the skills I've amassed over half a century.
Re:They did WSL totally backward. (Score:4, Interesting)
"If Windows was so bad and insecure then why does corporate America use and trust to secure their data and run their apps?"
Because of a committent to backwards compatibility. So long as one doesn't jump of MS fad of the week, Windows programs just keep working. (ok mostly, but not always).
VB for Applications (some monster Excel or Access program) mostly just work between versions. And compiled apps.
So a one time investment in Line of Business apps can deliver value of multiple decades.
(Yes, there are exceptions, 16 bit apps no longer work in 64 bit Windows, for example, but probably can be ported easily. Relying on a specific framework will probably mean unsupported at one point as well).
As Yoda might say "The Corporate World USES Windows, but trust, it does not*
Re: (Score:1)
Re: (Score:2)
I used Linux as my desktop exclusive for about twenty years. Jumped ship to Windows because I wanted a convertible laptop (specifically a Surface) and the Linux experience was pretty terrible. Didn't handle high-DPI displays well (it required making separate config tweaks for GTK+ and QT, and per-app for other toolkit), didn't handle multi-point touchpads well, didn't support the digitizer, didn't handle display geometry changes cleanly, etc, etc.
They didn't even have WSL at the time, but since the majori
Re: (Score:1)
And Linux makes a terrible desktop.
Re: (Score:1)
Two questions after reading the article: (Score:2)
Under which license did MS release WSL?
Re:Two questions after reading the article: (Score:5, Informative)
Does it matter? (Score:1)
It is not like they open sourced Windows. They open sourced a small appendage of a proprietary system as an attempt to lure users into the proprietary system. Their code is useless without a Windows license.
Re:Does it matter? (Score:5, Funny)
Damn, I was hoping to run in under Wine on Linux.
Re: (Score:2)
My initial thoughts were along these lines, you may jest, but developers working on modern things have mostly moved on from Windows, so it would make more sense for MSFT to focus on WINE compatibility.
Azure brings in the big money, so focusing on Windows is a lost venture now (Windows 10 was meant to be the last).
Re: (Score:2)
It COULD (in theory, at least) get directly cabbaged up by something like ReactOS though.
MIT allows re-licensing under new terms (GPL Primacy), IIRC.
Whether or not ReactOS is .... Mature enough.... (giggle)... to accept the newly opened code as a viable POSIX subsystem provider is another matter entirely, however.
Still, Gift horses and mouths, and all that.
Re: Does it matter? (Score:1)
"Their code is useless without a Windows license."
Probably, but as they have used a permissive license, if there are parts in there that are good for other purposes they will be usable.
lol troll (Score:2)
I am still rent-free in this clown's head all day every day.
Re: (Score:2)
Trolling yourself and lamenting the lack of an edit button, I presume :-)
Re: lol troll (Score:2)
If you knew me, you'd know I am the one who tells people they don't need an edit button.
Virtual Machine (Score:3)
Cygwin (Score:3)
Re: Cygwin (Score:3)
Cygwin is not at all Linux under Windows. Not only is it not Linux based, but a whole lot of software written on Linux won't even compile for it. That's probably a large part of why WSL exists.
Re: (Score:3)
It is a VM but it has a lot of special bits that allow much better integration with Windows than running a standard Linux distro in a standard VM would give you (and its these that are being made open source)
Re: (Score:2)
It is a VM running on Hyper-V, but the Linux kernel is customized so the performance is near native. In benchmarks it's usually between 0 and 3% slower than native Linux. It is also less isolated than a typical VM, sharing memory with Windows, having access to local drives and other resources.
Shouldn't it be called (Score:5, Interesting)
Re: (Score:3)
If NT had ended up with as many supported APIs as VMS had, we'd probably find the term mundane.
Re: (Score:2)
WSLv1 was.
WSLv2 is just a vm running in hyper-v with some paravirt hooks to allow better integration with the host, similar to what vmware or parallels has had for years.
Re: (Score:2)
The naming was designed to get hits and to confuse management. Developers were showing management what could be done with Linux for very little cost and getting approval for Linux systems to develop on. Windows Subsystem for Linux makes it sound like they can run Linux and still have access to Windows when it was bass ackwards. IMHO
LoB
Re: (Score:2)
Linux subsystem for Windows?
You misspelled "wine".
Re: (Score:2)
That's the company that puts its 32-bit libraries in a folder called WOW64 while the 64-bit libraries are in the system32 folder.
Re: (Score:2)
It's the company that does this because it's easier to do something that doesn't impact users than deal with developers who can't handle the change. Open source people would approve. Go tell Linus that you want to make a change that breaks the userspace and watch him tear you a new arsehole.
Re: (Score:2)
You're completely missing the point.
The problem is the naming. They put 32-bit libraries in a folder named WOW64 and 64-bit libraries in a folder named System32 and call a Linux that runs on Windows "Windows Subsystem for Linux".
Re: (Score:2)
Linux subsystem for Windows?
No. You're confusing what the "subsystem" is. It's not the guest OS being sub to the host, but rather it's talking about the components that enable alternate system calls the kernel layer. These days you may be forgiven since WSL2 is a bit more than Hyper-V, but WSL1 was a dedicated subsystem communicating to the NT kernel in much the same way as the Win32 subsystem did.
The naming is consistent with other such components such as Windows Subsystem for Android along with the modern marketing to put "Windows"
Re: (Score:2)
WSL1 was a dedicated subsystem communicating to the NT kernel in much the same way as the Win32 subsystem did
Which made WSL 1 have higher performance and native access to Windows subsystems, just like the Win32, WoW64, and OS/2 subsystems do. It used a system specifically made for Windows NT to efficiently and reliably host multiple operating systems without emulation or virtualization.
I feel like WSL 2 with its weird Linux kernel and hypervisor hacks to allow direct access to Windows subsystems is a huge step backward in reliability and performance.
Re: (Score:1)
For those who have to use Windows WSL is great (Score:2)
Some of us have to use Windows for one reason or another at least part time. WSL is totally awesome for those times! I am glad it exists. And now it is getting an opensource license makes it even better.
Re: (Score:2)
Have they open sourced WSL 1? (Score:2)
Personally, I am more interested in WSL 1 than WSL 2, and would like to find out if they have open sourced the former. Either way, congratulations to Microsoft for sharing this with the world, as they did with .NET Core and a couple other things I can recall previously.
Thanks... however (Score:2)
For me, at least, it'd be more useful for Microsoft to open-source (or at least make it "free as in beer") Windows - that way I could live the Linux-native (or Mac-native) experience and "take advantage of all I need in Windows" (which is not all that often).
Regardless - kudos to Microsoft for this move.
Fearing Recall, with Dual-Booting, WSL a Concern (Score:2)
California's District Attorney should investigate Microsoft's Recall sp
Is Microsoft's Binary the Same as Built Ones? (Score:2)
Link? (Score:2)
It seems that neither Slashdot nor the original article link a repo? What is an article about an open source project without a link to the source?
A Question nobody ever asked. (Score:2)
Why is it called "Windows Subsystem for Linux" and not "Linux Subsystem for Windows" ?
Re: (Score:2)
This is discussed upthread, where it's suggested that the name was intentionally chosen to create confusion. It is definitely 100% backwards.
Re: (Score:1)
Re: (Score:2)
It is a subsystem of Windows for handling some particular thing. Thus, Windows Subsystem for Linux.
No. "Windows subsystem for Linux" implies that it's a subsystem pertaining to windows which is for Linux, i.e. runs on it. "Linux subsystem for Windows" would be what you claim. Your understanding would make sense with the word order used in Spanish, not in English.
Re: (Score:1)
Improved Surveillance for Linux (Score:2)
Now you can get the great development environment of Linux and at the same time be subjected to the instability and intrusive surveillance features that Windows is famous for! Is a breakthrough.
Re: (Score:2)
LoB
Re: (Score:1)
Al software should be made for Linux (Score:2)