G+: Been reading more into how the Windows Subsystem …

David Coles
Been reading more into how the Windows Subsystem for Linux works[1] and how Pico processes from Project Drawbridge[2] are used to host Linux binaries on a Windows NT kernel.

The original intent of Pico processes was to reduce the Windows syscall API down to a new set of 45 syscalls (closer to that of a VM) and then implement the vast majority of traditional Win32 and WinNT calls in a user-mode NT kernel called NTUM.

This made me wonder - 45 low-level syscalls are much easier to implement on another platform than the full 1000+ Windows APIs - has anyone tried porting them to Linux? Oh look! Microsoft just announced SQL Server for Linux. And the binary makes reference to Drawbridge and libos. Hmmm.... :')

1. https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/
2. https://www.microsoft.com/en-us/research/project/drawbridge/

Microsoft ❤️ Linux? Microsoft ❤️ running its Windows' SQL Server software on Linux

(+1's) 1
David Coles
Looks like folks are already having fun pulling the pieces apart: https://twitter.com/h0x0d/status/799513721890570240

WalkingCat on Twitter: "Drawbridge = PicoProcess + LibraryOS / ABI PAL Pico => WSL, LibOS => SQL for Linux, bravo @MSFTResearch @igalenhunt"

David Coles
And some more coverage:

How an old Drawbridge helped Microsoft bring SQL Server to Linux