Today we’re very excited to announce the open-source release of the Windows Subsystem for Linux. This is the result of a multiyear effort to prepare for this, and a great closure to the first ever issue raised on the Microsoft/WSL repo:

https://github.com/microsoft/WSL

  • ramble81@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    So besides the brownie points, im curious what having it open sourced will benefit. Not like you can fork it to run on a different OS. You can make some extensions but to do what? You can’t really tie it further in to the host OS unless you know of some undocumented Win32 APIs.

    Maybe im just not thinking creatively enough.

    • SuiXi3D@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      im curious what having it open sourced will benefit

      MS won’t have to pay their own people to work on it anymore.

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      Not like you can fork it to run on a different OS.

      For WSL1? yep that’s effectively impossible.

      WSL2 is effectively just a wrapper around the kernel virtualization support and a bundling format, as long as whatever image you run talks to the host properly (like any other virtualised OS would) it’d run.

      • TerHu@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        does that mean we could build a wsl that provides the flatpak environment, so that we could get a one click install flatpak for windows?

        • The_Decryptor@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          Should be possible, as it’s a normal VM you can already install flatpak apps in said VM as normal, you’d just need a Windows side bit to invoke the install within WSL when you opened the flatpak bundle, and then something to add a start menu shortcut from the app inside the VM (Which I actually assume already exists, I never actually ran WSL2 when I was on Windows)

          • ramble81@lemm.ee
            link
            fedilink
            English
            arrow-up
            0
            ·
            17 days ago

            WSL2 now supports WSLg which allows you to run X11 (or other graphics packages) natively now.

    • CosmicTurtle0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      They released their code as MIT which is far more permissive than I was expecting. I was expecting some sort of proprietary license.

      But they need to keep doing stuff like this. Devcontainers for VS Code is still proprietary and keeps me from running codium.

  • Olap@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    Fair play to Microsoft here. Hopefully we see some pull requests from non-ms employees and a better wsl experience for us all

    • JustARaccoon@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      Means that now anyone can fork the project and make changes or iterate on it without needing to wait for Microsoft to fix things.

        • JustARaccoon@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          Np! Also forgot to add, I haven’t checked the license but generally with proper open source projects (as in not just source available) it means that even if Microsoft tries to revert this at any point, having forks of this version and continuing to develop and distribute versions of it is A-OK

  • stalfoss@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I still think it’s funny that the best way to run Linux on the desktop is via installing it through the Windows App Store

  • mvirts@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I am legit excited to install WINE Subsystem for Linux

    Or how about KDE on ReactOS on WSL?

    The possibilities are endless

  • Lost_My_Mind@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I don’t understand this.

    Does this mean Windows programs and exe files will now run natively on linux?

  • Gumus@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I know there’s a lot of hate for Microsoft on Lemmy, but WSL is one of the best parts of Windows. It’s really powerful and well integrated to Windows. Since I still can’t leave for pure Linux install, I’m glad for WSL.

    • lepinkainen@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      WSL made windows tolerable in the time I had to use a windows machine for work.

      macOS is still the better choice for corp approved work, integrates decently with IT systems and is a “real” unix system underneath.

      Linux on a corporate desktop is mostly about how well you know the IT guys and do they trust you. And of course the software stack.

      • cmhe@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        Linux on a corporate desktop is mostly about how well you know the IT guys and do they trust you. And of course the software stack.

        I would say it depends more on the commitment of the IT admins to support and manage a fleet of Linux workstations. There are Linux “Active Directory” servers, configuration provisioning tools, ways to centrally and automatically rollout updates, etc. It really depends on if the IT guys invest the same amount of effort to support them or not.

        • lepinkainen@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          17 days ago

          2000 people, 3k+ devices and one dude wants a Linux laptop.

          Not happening 😀

          But it did work in a smaller company of around 30 people, mostly because the IT guy was a Linux user too

      • interdimensionalmeme@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        17 days ago

        IT just said no for WSL “ask your manager”

        My manager barely knows how to read his email

        and doesn’t understand why I want 3rd screen

    • I'm Hiding 🇦🇺@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      The only Windows PC I use is my work computer.

      GPO blocked WSL.

      I can’t even escape to a command line with the right flavour of slashes between directories. For eight hours a day, all hope is lost.

  • sp3ctr4l@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    Ah, the Linux Subsystem for Windows (MSFT has never been great at naming things) is finally open source, hooray…

    Now do it with rest of the operating system, and I may, possibly have a reason to care.

    • cmhe@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      But it is not a “Linux Subsystem”, it is a “Windows Subsystem”.

      If I write a hypothetical Driver for Linux to support windows, it would be a “Linux Module” not a “Windows Module”.

      I guess they could have called it “Windows Subsystem for Linux support”

      • diviledabit@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        17 days ago

        And is that subsystem for windows or for Linux?

        Like…how do you find the zoom release for Linux? I thinks it’s very stable and now and very comparable to the version available for widows.

    • Phoenixz@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      Windows, you mean? Please no, thanks, I don’t need to see anything of that garbage