The news from Microsoft’s Build developer conference that surprised me most was that Microsoft will ship a genuine Linux kernel—GPLed, with all patches published—with Windows. That announcement was made with the announcement of Windows Terminal, a new front-end for command-line programs on Windows that will, among other things, support tabs.
Microsoft’s increased involvement with open source software isn’t new, as projects such as Visual Studio Code and the .NET runtime have operated as open source, community-driven projects. But this week’s announcements felt a bit different.
The Linux kernel will be powering Microsoft’s second generation Windows Subsystem for Linux (WSL). The first generation WSL contains a partial re-implementation of the Linux kernel API that uses the Windows NT kernel to perform its functionality. In choosing this approach, Microsoft avoided using any actual Linux code, and hence the company avoided the GPL license with its “viral” stipulations that would have arguably forced Microsoft to open source WSL and perhaps even parts of Windows itself.
In the second-generation WSL? It’s a full GPLed Linux kernel running in a lightweight virtual machine. This won’t be part of the base Windows installation—I’m told that developers will need to enable Developer Mode in Windows first—but it is, nonetheless, a GPL-licensed component forming part of a Windows component. Windows’ WSL feature has GPLed underpinnings, and that’s not something I would have expected to write even a year or two ago.
Opening up Windows itself
No less significant is the Windows Terminal project. Many Windows users will know that Windows’ command-line programs depend on a process named conhost.exe that’s responsible for drawing the command-line windows. As part of Windows Terminal, Microsoft has published the source to conhost.exe. This is an important (albeit uninteresting) part of Windows itself, and Microsoft has published it using the permissive MIT license. This is, I think, unprecedented. While Microsoft has open sourced Windows utilities such as Calculator, this represents the first time that the company has published core Windows code—and with an open source license to boot.
Loading comments...