Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    W

    WSL Team Blog

    blogs.msdn.microsoft.com/wsl · Company blog · on HN since 2016

    Microsoft's team blog on the Windows Subsystem for Linux, explaining its architecture, syscall translation, file system, and interop.

    Visit blogHN submissions
    Systems & PerformanceOpen Source & LinuxTech Industry
    What HN says

    Commenters cite it to explain how WSL1 works, including pico processes and the file system layer, and why it is not a real VM.

    Stats for nerds
    44HN people shared it
    20linked in comments
    1.2Kstory points
    Aug 2019last shared
    2016people per year2019

    Top posts on HN

    1. 1
      How the Windows Subsystem for Linux Redirects Syscalls
      4 people · 360 points · first shared 2016 · 266 comments on HN
    2. 2
      File System Improvements to the Windows Subsystem for Linux
      3 people · 221 points · first shared 2017 · 102 comments on HN
    3. 3
      Testing the Windows Subsystem for Linux
      2 people · 200 points · first shared 2017 · 135 comments on HN
    4. 4
      Windows Subsystem for Linux Architectural Overview
      14 people · 197 points · first shared 2016 · 40 comments on HN
    5. 5
      WSL File System Support (2016)
      10 people · 89 points · first shared 2016 · 26 comments on HN
    6. 6
      Pico Process Overview – Linux binaries on Windows
      10 people · 88 points · first shared 2016 · 23 comments on HN
    7. 7
      Interop between Ubuntu and the Windows Subsystem for Linux
      3 people · 58 points · first shared 2016 · 18 comments on HN
    8. 8
      Windows Subsystem for Linux: Looking Back and Looking Forward
      3 people · 4 points · first shared 2016 · Discussion on HN
    9. 9
      Wsl-Antivirus-and-Firewall-Compatibility
      1 person · 2 points · first shared 2019 · Discussion on HN
    10. 10
      Serial Support on the Windows Subsystem for Linux
      3 people · 1 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • saurikMay 2019

      It isn't the "NT kernel either way", as you are going through the filesystem translation layer; AFAIK it is implemented as a subsystem, so you are accessing the kernel through an entirely disjoint mechanism.

      So like, Microsoft may have fixed this recently, but WSL processes were essentially stuck inside of a filesystem sandbox that uses some inane mechanism to access files via mountpoints that fails to correctly translate the few flags that are supportable by the underlying Windows filesystem, so if you try to do basic things like use WSL's copy of git to manage a git repository stored outside of the WSL sandbox, it just doesn't work correctly.

      On the flip side, you also can't run a native Windows process whose binary is sitting inside of the sandbox, as native Windows processes do not have direct access to WSL files. Checking, they seem to have finally added the ability to mount new paths, so that's helpful (if you have network shares or removable media like USB keys, these were previously not accessible via WSL).

      The great thing about cygwin and MinGW is that, by and large, it _is_ "just the NT kernel", with nothing more than a userland library sitting between the process and the same kernel interface used by any other Windows application, so tons of stuff "just works" that WSL is having to slowly reimplement.

      (FWIW, it could be that Microsoft has fixed some of these filesystem showstoppers since I last tried to seriously use WSL; if so, that's exciting, but it doesn't…

    • exikyutJun 2018

      I think MS is trying to both support and not-support WSL, in the sense of building it out enough to support their internal agenda, but not where complex SLAs are needed.

      So, COM port access... I don't see that being hard; I envision it as boring API-wiring, since RS232 has been standard since before Windows and Linux existed, so it's likely the code's generally similar.

      But in terms of high-level support, RS232 is primarily industrial-class, with a long tail of developers and workstation uses trailing after it. Industrial immediately means complex SLAs and - nooooo - industry certifications and the like. I don't think MS wants to invest that much into WSL.

      With this said, a bit of poking around found https://blogs.msdn.microsoft.com/wsl/2017/04/14/serial-support-on-the-windows-subsystem-for-linux/, from last year. Are you on Insider Build #16176 or later?

    • dbgllmJul 2016

      You mention a target as compliance or certification, but I don't think this is a direct concern for the WSL. They want to support specific use-cases, at least at first.

      ---

      "Moving forward we will be investigating new areas of interest while continuing to support the following scenarios:

      + GNU command line tools such as grep, sed, and awk

      + File system and symlink support within the WSL environment

      + Ability to run apt / apt-get for installs, updates, and package testing

      + Basic functionality for languages such as NodeJS/npm, Python, Perl

      + Command line tools such as Vim, Emacs, Git, and SSH"

      https://blogs.msdn.microsoft.com/wsl/2016/07/08/bash-on-ubuntu-on-windows-10-anniversary-update/

    • localhostdotdevApr 2019

      "every other system has a feature except us, and we are not going to add it (because reasons) even if it's very widely used"

      also:

      > When a fork syscall is made on WSL, lxss.sys does some of the initial work to prepare for copying the process. It then calls internal NT APIs to create the process with the correct semantics and create a thread in the process with an identical register context. Finally, it does some additional work to complete copying the process and resumes the new process so it can begin executing.

      https://blogs.msdn.microsoft.com/wsl/2016/06/08/wsl-system-calls/

    • locacortenOct 2018

      Nice job.

      I'm a little skeptical though -- I think the devil is in the details. It's a lot of work to make a highly reliable backup program. As a Windows user, here's a list of questions I'd ask:

      1. Does Relica work with OneDrive on-demand files? [1]

      2. Does Relica work with WSL files? [2]

      Supporting all these corner cases on Windows, Mac, and Linux will be a TON of work.

      [1]: https://support.office.com/en-us/article/learn-about-onedrive-files-on-demand-0e6860d3-d9f3-4971-b321-7092438fb38e

      [2]: https://blogs.msdn.microsoft.com/wsl/2016/06/15/wsl-file-system-support/

    • pifDec 2016

      > Windows is the dominant desktop OS

      So what? Is desktop computing all that matters? Networking, scientific computing, mobile telephone, don't they matter?

      Unix was never meant for looking magic to clueless users; it was meant for programmers, i.e. for people who use the computer and not just some programs written by other people. And, in its realm, it has been brilliant! Not perfect, but very good!

      By the way, here's a link to learn something more: https://blogs.msdn.microsoft.com/wsl/

    Related

    Windows Blogblogs.windows.com885 people

    The Windows Subsystem for Linux is now open source

    Windows Blog
    Company · last shared 2026
    Windows Command Line Blogdevblogs.microsoft.com/commandline248 people

    Initial preview of GUI app support for the Windows Subsystem for Linux

    Windows Command Line Blog
    Company · last shared 2026
    Microsoft TechNet Blogsblogs.technet.microsoft.com284 people

    Making SQL Server run on Linux

    Microsoft TechNet Blogs
    Company · last shared 2020
    Microsoft Tech Communitytechcommunity.microsoft.com738 people

    Postgres IDE in VS Code

    Microsoft Tech Community
    Company · last shared 2026
    Microsoft Cloud Blogscloudblogs.microsoft.com133 people

    exFAT in the Linux kernel

    Microsoft Cloud Blogs
    Company · last shared 2024
    Microsoft Blogblogs.microsoft.com669 people

    Announcing SQL Server on Linux

    Microsoft Blog
    Company · last shared 2026
    Box of Cablesboxofcables.dev15 people

    Microsoft is not rebasing Windows to Linux

    Box of Cables
    Personal · last shared 2026
    DirectX Developer Blogdevblogs.microsoft.com/directx86 people

    DirectX is coming to the Windows Subsystem for Linux

    DirectX Developer Blog
    Company · last shared 2026