
Microsoft is making its Windows Subsystem for Linux (WSL) open-source today, opening up the codification for assemblage members to lend to. After launching WSL for Windows 10 astir 9 years ago, it has been a multiyear effort astatine Microsoft to open-source the diagnostic that enables a Linux situation wrong Windows.
“It has been a accordant petition from the developer assemblage for immoderate clip now,” says Windows main Pavan Davuluri successful an interrogation with The Verge. “It took america a small spot of time, due to the fact that we needed to refactor the operating strategy to let WSL to unrecorded successful a standalone capableness that past allowed america to open-source the task and beryllium capable to person developers spell and marque contributions and for america to ingest those into the Windows pipeline and vessel it astatine scale.”
The WSL codification is present available connected GitHub, allowing developers to download it and physique it from source, enactment successful fixes, oregon adjacent adhd caller features. The WSL assemblage hasn’t had entree to Microsoft’s root codification successful the past, but that hasn’t stopped them from making contributions that person helped amended WSL implicit the years. Davuluri says he’s present expecting that developers volition usage the open-source task to assistance amended WSL performance, oregon for much integration into Linux services.

It’s a large milestone for WSL, which started disconnected beingness successful 2016 arsenic portion of the Windows 10 Anniversary update. “At that clip WSL was based connected a pico process provider, lxcore.sys, which enabled Windows to natively tally ELF executables, and instrumentality Linux syscalls wrong the Windows kernel,” explains Pierre Boulay, elder bundle technologist astatine Microsoft. “Over clip it became wide that the champion mode to supply optimal compatibility with autochthonal Linux was to trust connected the Linux kernel itself.”
Microsoft announced its 2nd large mentation of WSL successful 2019, yet adding GPU enactment and past moving to vessel the task abstracted to Windows. “It yet became wide that to support up the increasing assemblage and diagnostic requests, WSL had to determination faster, and vessel separately from Windows,” says Boulay. “That’s wherefore successful 2021 we separated WSL from the Windows codebase, and moved it to its ain codebase.” In the latest 24H2 update for Windows 11, Microsoft has afloat transitioned WSL users to a bundle that’s abstracted from Windows, alternatively of the WSL constituent that was baked into the OS.
All of these changes to WSL successful caller years person led Microsoft to adjacent disconnected the archetypal ever contented raised connected its WSL repo connected GitHub, asking “Will this beryllium open-source?” That reply is precise overmuch yes now, and it’s a portion of making Windows much developer-friendly. “Our extremity is rather simple: we privation Windows to beryllium a large dev container for developers,” says Davuluri. “That’s truly the ambition.”