• @yaaaaayPancakes@lemmy.world
    link
    fedilink
    English
    231 year ago

    I used WSL extensively at a couple of previous jobs. Sometimes IT only gives you the choice of Windows or Mac. I’m quite happy to have a Linux machine at my current job, but WSL has gotten the job done for me when I lacked that option.

    • @avapa@lemmy.world
      link
      fedilink
      English
      111 year ago

      My company mandates Windows laptops but I mostly work with Linux VMs hosted on our servers. WSL2 and Visual Studio Code (with Remote SSH and WSL2 plug-ins) are the best things that happened to Windows in years. Without these tools I would simply be unable to work.

  • @Sestren@lemmy.world
    link
    fedilink
    English
    21
    edit-2
    1 year ago

    I don’t understand the pointless hate over wsl. Sure, it doesn’t replace Linux. It also doesn’t have to… Just having access to basic nix functionality from a windows desktop is still a useful feature. It makes stuff like putty mostly obsolete. It let’s windows users unpack tarballs without 7zip. It let’s developers play video games while “compiling”. It’s just an all-around convenient tool to have.

    Maybe Microsoft wanted it to replace the Linux desktop, but since when has anyone really cared about what Microsoft wanted :P

    • @Madmaddy@lemmy.world
      cake
      link
      fedilink
      English
      61 year ago

      Yeah, I don’t see what the big deal is. I won’t be switching from Windows anytime soon, for various reasons, but I very much appreciate being able to have access to a local linux environment without having to dual boot.

    • @CoderKat@lemm.ee
      link
      fedilink
      English
      31 year ago

      Yeah, I can’t emphasize enough how it can’t replace Linux. And it doesn’t even always work that well for stuff that you’d expect to be able to work there.

      I use Windows for my mostly-for-gaming desktop and because I’m very lazy with dual booting, I usually just use WSL if I wanna do some small thing. Or even some not so small thing. I tried to get stable diffusion working using it. I strongly dislike using the windows command line (I do all my professional dev on Linux and it’s what I’m most comfortable with), so I tried to use the Linux instructions with WSL. Did not go well. Wasted more time than I should have trying to make it work before I just gave up on that idea.

      Not the first time I hit some weird WSL incompatibility either. I really should know better.

    • TriLevelSync
      link
      fedilink
      21 year ago

      I spend like 80% of my work day in WSL. Using a Linux image that 100% matches the production environment, docker and k8s integration, and using VScode easily with WSL.

      The big thing that makes is work is all I need is a command line.

      • @mcmxci@mimiclem.me
        link
        fedilink
        11 year ago

        Same, I have completely integrate WSL into my workflow. I use devcontainers with VScode and docker in WSL directly skipping docker in windows. It’s great

    • Square Singer
      link
      fedilink
      English
      11 year ago

      Yeah, I don’t get it either.

      While technically different (VM vs compatibility layer), WSL and Wine fill the same role. I have yet to see lots of people bashing Wine for being incomplete and imperfect.

    • SuperNintendoChalmers
      link
      fedilink
      01 year ago

      You’re right. It’s a great tool to have, and a much more efficient way to do lots of things than running a linux VM.

        • Yes, with WSL2, it’s implemented as a VM on hyper-v. But, that should be treated as an implementation detail, it’s a very light VM, compared to your usual linux VM. And you get the tight integration with the windows side of the machine for free, without fuss.

          It’s very cool that you can have a workflow that starts in powershell, then executes commands in the bash shell, and the results stream right into powershell.

          • @indetermin8@lemmy.world
            link
            fedilink
            11 year ago

            Is that still true with WSL2? It absolutely was with 1, but when 2 came out everyone said: Forget that we ever had WSL1.

  • @hungryish@lemmy.world
    link
    fedilink
    English
    211 year ago

    My personal computer is Windows mainly because of gaming and game dev, but WSL means I don’t have to dual boot to tinker on a web project or something. In a way, it killed the Linux desktop for me, but I still use Linux as much as ever. With Docker as well.

  • @jmanes@lemmy.world
    link
    fedilink
    English
    151 year ago

    I work at Oracle and leverage WSL for for some things. It works… but I wish I could just use Linux. WSL is full of gotchas and weird bugs. Performance is not good either.

    • @DigitalBits@lemmy.fmhy.ml
      link
      fedilink
      English
      11 year ago

      WSL2 is essentially a VM, and doesn’t seem to have any weird bugs or gotcha’s anymore (at least for command line programs). I don’t use it for work, but playing around with it as a hobby, it seems fairly solid.

      • @jmanes@lemmy.world
        link
        fedilink
        English
        61 year ago

        I use WSL2. It has bugs. DNS stops working when you connect to a VPN, which I have to do every day for all of my work. To fix that you can either modify the resolv conf (which gets wiped out on every startup) and then chattr it to prevent it from being deleted (this still didn’t quite work for me). Or you can install wsl-vpnkit and pipe all of your network traffic through another container.

        I have been working in docker and rancher desktop, both of which have integrations with WSL but with other caviats and bugs. I basically have a bunch of very highly specific steps written up for other employees for “how to get this working with WSL” because it is so buggy.

        • @RyeBread@feddit.de
          link
          fedilink
          English
          41 year ago

          I feel so vinticated reading somebody else going through the DNS hell WSL2+VPN DNS issues. It is a nightmare in professional environments and for the life of me I cannot get my resolv to stop reverting after a while. Thanks for the tip on wsl-vpnkit, much harder to convince VM teams to spin you up a remote dev environment than to just use WSL sometimes.

        • communistcapy
          link
          English
          1
          edit-2
          1 year ago

          Tinkering around to get things working is a part of the authentic Linux experience. Performance is 95% to Ubuntu 20.0.4 so not sure what you mean by that. resolv.conf won’t get wiped out if you put

          [networking]
          generateResolvConf = false
          

          in your /etc/wsl.conf file.

          A more modern solution is outlined here which you will want to adjust if you’re using something other than Cisco.

          • @jmanes@lemmy.world
            link
            fedilink
            English
            2
            edit-2
            1 year ago

            I’ve been using Linux for 15 years. Tinkering with WSL is not as fruitful as tinkering with Linux.

            The link you provided for DNS is exactly the solution I was describing in my original post. It never worked for me, though. We have a custom DNS setup in-house and simply setting the nameserver doesn’t work. It is far too much of a hassle, so we just spin up wsl-vpnkit when we need network access.

            Mac users and Linux native users don’t have these issues and everything works out of the box.

            The performance I get when compiling and running integration tests through Rancher desktop integration on WSL is abysmal. Taking 30+ minutes to complete whereas for other employees on Macs see things done in under 5 minutes. Not sure if there is a WSL specific firewall / networking issue or what. If you look up “WSL2 poor network performacne” you’ll see dozens of open GitHub issues. It is very non-deterministic. Some days it runs great, other days it is terrible.

            I assume I’ll have a million of other replies coming along that link me to random benchmarks and articles about how great WSL2 is, but I’m telling you, I use it every single day at my job as a software engineer. It has problems. I’m grateful it exists and you can hack it just enough to work (sometimes), but it is nothing like using Linux natively.

            • communistcapy
              link
              English
              11 year ago

              To be clear I wasn’t trying to say WSL replaces Linux. Just trying to help with your issues. I use WSL on Windows but I still also use native Arch (btw).

  • milkjug
    link
    fedilink
    English
    141 year ago

    Weird how tribal people are. Let people enjoy things for God’s sake. I use all combinations of macOS, Windows, Fedora, Ubuntu (server + on WSL), Pop_OS!, and what not. Different horses for different courses, and I like each one of these in their ways they excel at.

    • @Duamerthrax@lemmy.ml
      link
      fedilink
      English
      61 year ago

      I shit on windows because I have had terrible experiences with windows. I dual boot a hackintosh with win10 and win10 is more unstable despite using it less. I use linux on my laptop and headless stuff and the only problems I have are ones that I create.

    • @jtk
      link
      English
      51 year ago

      People who get out, see the world, meet people from other places tend to be far less tribal. Early career, I could have easily been a paid Microsoft Evangelist (is that still a real job title?). Eventually I was forced to begrudgingly learn a whole bunch of other things, then I became obsessed with OSS, shunning my former tribe every chance I got. At some point I just stopped caring about everything. Language, tabs vs spaces, design patterns, IDE, frameworks, I just don’t care any more. I still have my go-tos if I’m starting fresh but, if the direction of the wind changes, it doesn’t bother me a bit.

    • @amesoeurs@lemmy.world
      link
      fedilink
      English
      21 year ago

      it’s fun to fling shit at the other side on the internet, regardless of what you truly think. has been for 30 years. how is that difficult to understand?

  • @amanwithausername@vlemmy.netOP
    link
    fedilink
    English
    131 year ago

    Transcript:

    [Miracle of the word wide web meme template]
    “Thanks to the miracle of windows subsystem for linux…”
    “…I can use the Linux terminal from the comfort of windows”
    [Computer monitor showing windows update screen]
    “Marvelous”

  • @zosu@vlemmy.net
    link
    fedilink
    English
    131 year ago

    the worst thing about windows is that you can’t natively change the window manager or desktop environment. that is so backwards. they even removed the ability to move the taskbar wherever you want. this is so weird.

    • @CentreMetre@lemmy.world
      link
      fedilink
      English
      41 year ago

      Cant move the taskbar? Do you mean in windows 11, cos its possible in windows 10. If so i have just another reason to be glad i didnt make the move

    • @hydra@lemmy.world
      link
      fedilink
      English
      11 year ago

      They removed the classic theme and I’m still pissed because you can’t quite get it back.

  • @binboupan@lemmy.kagura.eu
    link
    fedilink
    English
    11
    edit-2
    1 year ago

    WSL is nice if you want to build things/run software for Linux, otherwise… just use Linux. Also it’s a nice way to run Docker without paying for it.

  • @regeya@lemmy.world
    link
    fedilink
    English
    91 year ago

    I don’t understand how Linux could make Linux obsolete

    Or were they talking about the original WSL, where it was an implementation instead of a specialized VM

  • @sol87@lemmy.world
    link
    fedilink
    English
    91 year ago

    I think most actual Linux users saw this as expanded access to the Linux environment, and easier ways for Windows users to dip their toes in. That was the feel i got from the general community at the time.

  • @octalfudge@lemmy.world
    link
    fedilink
    English
    61 year ago

    I feel WSL just gives enterprises an excuse not to let developers have pure Linux machines. After putting up with horrible and buggy WSL for years, managed to have my organisation bless running proper Linux on our machines. Bye Windows, hardly ever knew you.

    • @dustyData@lemmy.world
      link
      fedilink
      English
      21 year ago

      90% of ICT techs would have to be fired if corporate switched to Linux. Any ops tech that knows Linux is in the bunkers babying the data center’s servers, not caring for old laptops and abused browser machines.

      • Jelloeater
        link
        fedilink
        English
        21 year ago

        I’m not saying Linux is superior to Windows, that would be a opinion. But for anyone outside of gamers (Steam Deck…) or business folks, it IS the better option. The issue is Dell isn’t going to ship Ubuntu by default, for example. It’s all subsidiaries, all the way down. FOSS just cannot throw their weight around like M$.

          • Jelloeater
            link
            fedilink
            English
            11 year ago

            From what I can tell these days Microsoft only wants to compete with services not so much software these days. The operating system to them is just a tool to sell ads and to get you places. They haven’t cared about power users for the last 8 years.

  • @callmepk@lemmy.world
    link
    fedilink
    English
    61 year ago

    Personally, I think WSL is a great start point to introduce users in Windows to take the first step to Linux. Me myself and several people from what I know starts from WSL and end up using Linux full-time

  • goryramsy
    link
    fedilink
    51 year ago

    To put it like /g/, WSL is redpilling the normies on free software.

  • Pietrasagh
    link
    fedilink
    English
    51 year ago

    So true :'-) I used WSL on my company computer. Somehow I managed to snake through corporate restrictions on administration settings and WSL had practicaly full access to system. I even managed to make xserver and GUI apps working :-)

    • @Da_Boom@iusearchlinux.fyi
      link
      fedilink
      English
      31 year ago

      These days you don’t even need to do that, thanks to the wslg project microshaft has developed it has Wayland and pulseaudio inbuilt.