|
|
|
|
|
by billziss
2603 days ago
|
|
Although many people seem to be receiving the WSL2 news well, I am one of the few that feels that we will be missing something important with this new direction. WSL1 was pushing the boundaries of OS research: - a method for having multiple syscall interfaces in a mainstream OS - processes in WSL1 were real NT processes (even if lacking some of the NTOS environment) - direct integration with the rest of the OS without an awkward VM separation layer. In comparison WSL2 is basically an optimized VM with some fancy guest additions. Color me underwhelmed. I understand the argument that WSL2 is faster than WSL1 in file system operations. I expect this will only be true for their root file system ("VolFs") and that performance will remain same or suffer for Windows drives ("DrvFs"). I am certain that they could fix "VolFs" performance by moving the file system of NTFS and into a raw disk partition or VHD. (Note: I write file systems both in and out of kernel.) Finally WSL2 will be distributed with Windows which raises some licensing questions (IANAL) if not in the letter of the GPL license at least in spirit. I write GPL'ed software myself and I would be somewhat miffed if I saw my software used in a similar manner (i.e. "via a VM", but still distributed with non-GPL code). |
|
I think they found the boundary of OS research in this case, and a better product is using the actual Linux kernel.