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

  • boaratio@lemmy.world
    link
    fedilink
    English
    arrow-up
    171
    arrow-down
    1
    ·
    4 days ago

    I still will never understand why it’s not called Linux Subsystem for Windows.

  • Gumus@lemmy.world
    link
    fedilink
    English
    arrow-up
    63
    arrow-down
    1
    ·
    3 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
      13
      arrow-down
      1
      ·
      3 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
        7
        ·
        3 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
          4
          ·
          3 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
            1
            ·
            2 days ago

            Easy fix, install proxmox and run corpo-os in that as well as a proper desktop os. Just need to max out the ram on the shitbox thet give you and now you can switch almost seemlessly

          • cmhe@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 days ago

            Well I worked for a while at a large international corporation that maintained (and AFAIK is still continuing) a managed Linux system, which worked well enough. And there where a lot more people, especially the people that were the most productive, interested in it.

            Sure that might have just been a nice island inside the larger company, but the people there were the internal consultants, which often had to pull other projects out of the gutter.

            If you over your specialists ways to use the tools they need, you will improve the whole company.

      • interdimensionalmeme@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        3 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

  • EON_GuG@lemm.ee
    link
    fedilink
    English
    arrow-up
    86
    arrow-down
    18
    ·
    4 days ago

    Don’t you think this is another Embrace, Extend, and Extinguish strategy from Microsoft?

    • bishop@lemmy.world
      link
      fedilink
      English
      arrow-up
      65
      arrow-down
      12
      ·
      4 days ago

      That’s exactly what it is. Any time now you’ll see “the best way to run Linux: on windows” or similar.

      • simple@lemm.ee
        link
        fedilink
        English
        arrow-up
        49
        arrow-down
        7
        ·
        4 days ago

        Does Lemmy even know what EEE means anymore or are we regurgitating words we heard from some article now?

        What’s it going to embrace and extend? WSL has existed for ages and is just a way to run Linux in a convenient container on top of Windows. That’s it. It’s not an attempt to “extenguish” Linux, literally just make the development experience on Windows less painful so people don’t switch to another OS. This has nothing to do with EEE.

        Open sourcing it with a permissive license can only be a good thing, and again they’re doing it to be more appealing to devs and maybe get free bug fixes from the open source community. It isn’t some grand conspiracy. But of course this community will react to news of “proprietary blob is now open source” with pessimism.

    • nao@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      31
      ·
      4 days ago

      I think it’s an attempt to keep people on their platform who need easy access to a unix-like shell. Linux has it and so does mac os. Windows didn’t until they introduced wsl.

        • lobut@lemmy.ca
          link
          fedilink
          English
          arrow-up
          14
          ·
          4 days ago

          I had to move back to those a few times instead of using WSL during the early days. There were quite a few growing pains.

          Fixed it fully by installing Linux.

        • mvirts@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          3 days ago

          has, they still work great and keep me sane

          MSYS2 is my current choice for GNU/Windows

    • themachine@lemm.ee
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      2
      ·
      4 days ago

      I think it’s more embrace. They have to compete against so many more entities now.

      • Buckshot@programming.dev
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        1
        ·
        4 days ago

        This is my thought, they’ve all but lost the battle for cloud servers and they’d rather the developers computers were Windows. WSL allows that.

      • fartsparkles@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

        I think you’re probably right. Microsoft seems less invested in winning an operating system battle at this point. They’re positioning services and abstractions that care less about the end device’s operating system, more so that they’re at least on that device.

        I wouldn’t be surprised we see Microsoft “embrace” Proton and Wine in the next 5 to 10 years as it’s far easier to let “the community” predominantly handle supporting legacy Windows versions that have to handle it themselves.

        They can’t suddenly lose that entire OS revenue machine however and would need to transition. But I doubt that Redmond are naive to the disruption Wine and Proton are having and how technical users are starting to jump ship.

    • juanito_the_great@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      3 days ago

      It’s kind of the opposite in my mind, WSL is (was) Microsoft capitulating to the fact that Linux is not going away, same with Azure. WSL is mostly for companies. Some companies have a huge contract with Microsoft and manage all laptops with it. Then they grow big enough that they can’t ignore Linux because they have people who need to work on Linux. WSL is the way Microsoft keeps their clients, because otherwise they move to Apple based IT.

      EEE would have been investing in PowerShell, PuTTY, or similar.

    • chunes@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      4 days ago

      Normally I would say yes, but WSL is so incredibly necessary for a developer that it might be legit.

    • toastmeister@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      4 days ago

      Docker doesn’t exist in a usable state on Windows, so its an attempt to allow management of servers using Windows, as Windows Server fades away from usage entirely.

      • anachrohack@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        4 days ago

        Docker works with windows containers, plus wsl can be used as the backend for docker. I use it all the time

    • prettybunnys@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      No real reason to extinguish here, Microsoft is a services company and can offer those services on Windows and Linux.

      I’d wager you’re more likely to see an official compatibility layer on Linux supported by Microsoft before you see them move to extinguish.

    • IsaamoonKHGDT_6143@lemmy.zip
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      5
      ·
      4 days ago

      It could be another Embrace, Extend, and Extinguish strategy from Microsoft, because if the increase in Linux user share leads to an increase in malware, most of those users aren’t experts.

      So there will be an increase in antivirus software for Linux, but that will also lead to DRM in Linux, and Linux may become what I swore to destroy. While BSD distributions, Redox OS, and other systems take over to become the new Linux as it was in its beginnings.

      • anachrohack@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        4 days ago

        Anyone who’s running WSL is probably closer to an “expert” than the average windows user

    • Axum@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      10
      ·
      4 days ago

      I wish people would let the EEE meme die. It’s not the 90’s anymore grandpa. Parroting the same pointless meme without applying critical thinking gets old.

      • 3abas@lemm.ee
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        4
        ·
        4 days ago

        Are you suggesting an alternative motive for Microsoft that does beyond profit?

        • Euphoma@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          The profit is getting nerds on the internet to fix bugs in wsl for free

        • Axum@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          3
          ·
          edit-2
          4 days ago

          What does that have to do with the price of tea in China? Maybe don’t just toss around non sequiturs.

  • stebator@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    3 days ago

    This is for WSL2, not for WSL1. WSL2 is just a VM, not a big deal it it’s open-sourced. WSL1 is superior to WSL2 in every way. BTW, WSL2 is not a continuation of WSL1, they are being developed in parallel. I still try to use WSL1 whenever possible. For Linux specific features, like systemd dependancy and mounting file systems, I’d use full-featured VM instead of WSL2.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 days ago

      I thought WSL2 had a few specific advantages over WSL1, something about disk writes and/or Docker? But yeah, WSL1 was such a cool concept. My understanding is they implemented all the syscalls and API in it so it’s basically native.

      I tried to use them, as I do most tools like that. On Windows I have always stuck with the MSYS environment that Git for Windows gives you. It’s easy enough to work with and has most everything I care about. Plus it’s easy to set up. With wsl it’s more like a separate thing, it wasn’t as easy to run in place. A lot of times I still used batch or powershell scripts so it wasn’t totally bash. Like Docker is easier to use from not bash in Windows because the syntax is so wonky.

      But now I don’t use Windows at all.

  • JuryNow@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 days ago

    Making WSL open source could actually lead to some useful contributions and better transparency overall ; and good for Linux tools?

  • Olap@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    4 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

  • mvirts@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    I am legit excited to install WINE Subsystem for Linux

    Or how about KDE on ReactOS on WSL?

    The possibilities are endless

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

        Unfortunately building it was a disaster a few years ago, I should give it another go.

        • Matriks404@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          3 days ago

          Why were you trying to build it? You can find both ““stable”” release and nightly builds on ReactOS website.

          ReactOS 0.4.16 was just released, but I do recommend just getting a nightly build, unless it doesn’t work and you have enough patience to try out the regular version as well.

  • ramble81@lemm.ee
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    4 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.

    • JustARaccoon@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 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
          4
          ·
          3 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