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

  • JuryNow@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    10 hours ago

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

  • yarr@feddit.nl
    link
    fedilink
    English
    arrow-up
    18
    ·
    12 hours ago

    Great! With this source code out, I can finally complete the port to Linux. I call it WSL24L, aka “Windows Subsystem For Linux 2, For Linux”

  • katy ✨
    link
    fedilink
    English
    arrow-up
    14
    ·
    13 hours ago

    but… you need to run it on microsoft, which isn’t open source…

    • CodexArcanum@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

      Only right now. I’m sure someone will have it running on Wine or Proton by next week. Steamdeck subsystem for proton for Windows subsystem for linux

      • katy ✨
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 hours ago

        brb running vim on windows subsystem for linux on proton on wine on linux.

  • Kazel@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    19
    ·
    15 hours ago

    fuck microsoft and windows so hard. had to reinstall that shitshow on my mothers computer because a driver update fucked the whole networkstack… they throw error codes and what not but give no help whatsoever. the conclusion of everyone for every problem is to reinstall windows… shitshow of an os, keep your dirty hands of linux!! can’t wait to nuke it and install linux there and have no windows machine left

    • Melvin_Ferd@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      12 hours ago

      I reinstalled Windows and had to shit my pants because I was so disgusted in myself. Fuck windows

  • stebator@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    15 hours 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
      4
      ·
      10 hours 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.

  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    13 hours ago

    Garbage on top of garbage. The true nature of macroshafts desperate grasp to get control of linux.

    • Womble@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 hours ago

      Its a godsend when you have to use Windows for whatever reason and you can have a functional OS to do things with.

  • Gumus@lemmy.world
    link
    fedilink
    English
    arrow-up
    81
    ·
    21 hours 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.

    • I'm Hiding 🇦🇺@aussie.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      15 hours 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.

    • lepinkainen@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      19 hours 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
        ·
        15 hours 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
          ·
          10 hours 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

          • cmhe@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 hours 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.

  • mvirts@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    21 hours ago

    I am legit excited to install WINE Subsystem for Linux

    Or how about KDE on ReactOS on WSL?

    The possibilities are endless

  • EON_GuG@lemm.ee
    link
    fedilink
    English
    arrow-up
    109
    ·
    1 day ago

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

    • juanito_the_great@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      19 hours 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.

    • bishop@lemmy.world
      link
      fedilink
      English
      arrow-up
      89
      ·
      1 day ago

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

    • nao@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      44
      ·
      1 day 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
          20
          ·
          1 day 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
          13 hours 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
      26
      ·
      1 day 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
        16
        ·
        1 day 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.

          • ℍ𝕂-𝟞𝟝@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            4
            ·
            24 hours ago

            Yeah but imagine if they could collect licence fees after every AWS server as well.

            The world is not enough for these companies.

            • Nath@aussie.zone
              link
              fedilink
              English
              arrow-up
              3
              ·
              24 hours ago

              My client is spending waaaaaaay more money on Microsoft Online than it ever used to on software licenses. Every single user in the business is costing 🇦🇺$30 per month alone just for their Office suite. That’s before you get to the Azure stuff. Some hosted apps cost over 🇦🇺$1k/month to host in Azure.

              Before you go too strongly after Microsoft for charging so much, this is cheaper than what we used to pay for running our own SharePoint, Exchange etc farms as well as the infrastructure required to host websites/database etc. All that has been outsourced to Microsoft Online and saves significant money.

              Microsoft is doing very well out of its own cloud fees and can cope with AWS, Google and all the smaller private cloud operations getting some of that action.

              • ℍ𝕂-𝟞𝟝@sopuli.xyz
                link
                fedilink
                English
                arrow-up
                3
                ·
                23 hours ago

                I know they are doing very well, trust me, I’ve seen the inside of the beast. It’s not Microsoft either, any megacorp will talk to you in terms of how much they lost by not fully monopolising a market segment.

                And that is my point, not that they don’t make insane amounts of money, but that it will never be enough.

        • Overspark@feddit.nl
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day ago

          Poorly. WSL is awesome but it’s I/O performance is not at a level which will make developers on bigger projects happy.

      • fartsparkles@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day 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.

    • Damarus@feddit.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      1 day ago

      I don’t think that, as Microsoft hasn’t done a lot (any?) of that stuff in recent years. It’s good to be cautious but really what is the problem with opening the source for something that already existed for a while and is embraced by many?

      • 7dev7random7@suppo.fi
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        Projects are receiving issues about WSL compatibility issues. So this directly influences FOSS projects.

        They would go as far as put bounties for PRs just to get more hold in the community. Just swapping to a permissive license appears to be enough to get contributions.

        They can keep their secrets; I won’t ever check this repository out.

    • chunes@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 day 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
      8
      ·
      edit-2
      1 day 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
        3
        ·
        edit-2
        1 day ago

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

    • Axum
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day 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
        13
        ·
        1 day ago

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

        • Euphoma@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          22 hours ago

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

        • Axum
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          1 day ago

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

    • IsaamoonKHGDT_6143@lemmy.zip
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day 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.

    • JAWNEHBOY@reddthat.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 day ago

      That’s their playbook. But honestly I think anyone who plays with WSL will either get a taste and begin learning/transitioning to Linux or device to stick with their “safe” windows machine

      • SpaceNoodle@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        1 day ago

        WSL is just a way to actually get some shit done when there’s a terrible business reason for requiring a native Windows install.

        My Microsoft Surface became vastly more useable once I installed Linux on it.

      • Damarus@feddit.org
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        1 day ago

        WSL allows me to develop in a Linux environment while still enjoying my very custom Windows setup and programs that I am used to. So no, WSL did not make me choose a side, but instead helps me to get the best of both worlds at once.

      • Exec@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        long obsolete dos text editor

        It’s a full rewrite in Rust, with no direct relation to the old program.