this post was submitted on 29 Jun 2023
307 points (99.7% liked)

linuxmemes

21280 readers
1217 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] Sestren@lemmy.world 13 points 1 year ago (5 children)

    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 tarbells 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 5 points 1 year ago (1 children)

    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.

    [–] NewBrainWhoThis@lemmy.world 4 points 1 year ago (1 children)

    WSL + Docker is all I need :-)

    [–] TriLevelSync@kbin.social 2 points 1 year ago

    Seriously, with the VSCode integration to control everything from your IDE.

    [–] squaresinger@feddit.de 2 points 1 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.

    [–] TriLevelSync@kbin.social 2 points 1 year ago (1 children)

    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 1 points 1 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

    [–] CoderKat@lemm.ee 1 points 1 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.

    [–] SuperNintendoChalmers@kbin.social 0 points 1 year ago (1 children)

    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.

    [–] JTskulk@lemmy.world 0 points 1 year ago (1 children)

    It is a Linux VM though. At least that's what I've heard.

    [–] yaaaaayPancakes@lemmy.world 1 points 1 year ago (1 children)

    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 1 points 1 year ago (1 children)

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

    [–] yaaaaayPancakes@lemmy.world 1 points 1 year ago

    Yep. When I last had a windows machine at work I used WSL2 and for my workflow at least, it worked just like WSL1. I do know a few things changed between 1 and 2, but I never encountered them.