this post was submitted on 20 May 2025
815 points (94.9% liked)

linuxmemes

25047 readers
1730 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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 remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] digdilem@lemmy.ml 13 points 3 days ago (10 children)

    I still don't know what WSL is for.

    [–] MonkderVierte@lemmy.ml 30 points 3 days ago (1 children)

    To keep developers on the platform, because their own ecosystem is shit.

    [–] wetbeardhairs@lemmy.dbzer0.com 4 points 3 days ago (1 children)

    Honestly if it frees me from MinGW I would be happy

    [–] Ricaz@lemmy.dbzer0.com 1 points 2 days ago

    I'm happy the Cygwin and Mingw days are over. WSL2 works very well.

    [–] wetbeardhairs@lemmy.dbzer0.com 3 points 2 days ago (1 children)

    Anecdote: I have an IDE that only works on Windows that can build applications for Linux. I use MinGW as part of the packaging process (AND I FUCKING HATE IT OH MY GOD. All of the pathing is broken!). As of yesterday I learned that WSL is a thing that might replace MinGW and make some processes of packaging for linux targets a little easier.

    [–] dejected_warp_core@lemmy.world 1 points 2 days ago* (last edited 2 days ago)

    I've used both. What I can tell you is that moving to WSL is like moving to Linux wholesale. Treat it like porting your toolchain.

    IIRC, MinGW tools will happily take windows style paths (e.g. "C:\Users~myuser\projects"). If your tooling/scripting depends on being able to use Windows style paths, you'll have to fix that first or you're going to have a really bad time. There may be other small differences between MinGW tools and what ships on Ubuntu (or whatever Linux you decide to use in the WSL).

    [–] forrcaho@lemmy.world 10 points 2 days ago

    I only use Windows because I have to work with a corporation's IT helpdesk staff to get on their VPN if I want to do contract work for them. They are not likely to help me get connected from Linux; they'll just find another contract dev. Once in, I do everything in Linux because my code will ultimately run in a Linux cloud container of some sort. WSL works well enough for me to do this. I'd rather have Linux on bare metal, but whatever. I'm in; I'm coding; I'm getting paid. I'll put up with a little bit of suck.

    [–] Ricaz@lemmy.dbzer0.com 3 points 2 days ago (2 children)

    My company only allows us to use the company-provided Windows image, so I do all my work inside a WSL2 tmux session.

    JetBrains IDEs and VSCode also have WSL connectors so it works acceptably well.

    It also handily dodges all the Windows security policies (like installing software). You can even run Xorg apps from it.

    I'm still forced to use MS Teams and Outlook, though..

    [–] digdilem@lemmy.ml 2 points 1 day ago

    Good answer. Like a michelin chef working at McDonald's and having a little secret area of his own.

    [–] x00z@lemmy.world 12 points 3 days ago (1 children)

    Run Linux stuff on Windows.

    A big use case is development with Docker containers.

    [–] digdilem@lemmy.ml 5 points 2 days ago (3 children)

    Thanks - I can kind of see that, as docker on windows is majorly broken. I think I'd just run it in a linux vm, as I do with most of my developing, but I can see some might not want that overhead.

    [–] x00z@lemmy.world 9 points 2 days ago

    Consider dropping Windows instead

    [–] rmuk@feddit.uk 7 points 2 days ago (1 children)

    That's the best bit about WSL (at least, version 2) is that it is a VM running a full version of Linux using Microsoft Hypervisor. There's a bunch of drivers included that allow Windows and Linux to share filesystems and if you run Wayland/X apps in Linux they run on the Windows desktop.

    [–] digdilem@lemmy.ml 3 points 2 days ago

    Sharing filesystems could be useful, I can see that.

    I do that with target dev platforms anyway, using things like NFS, samba and sftp, but I do see that it could work well for this.

    [–] RedditIsDeddit@lemmy.world 3 points 2 days ago

    WSL these days is basically linux running on hyper-v tech natively in Windows.

    [–] Valmond@lemmy.world 18 points 3 days ago

    Windows Stolen Linux

    [–] sixtoe@lemmy.blahaj.zone 2 points 2 days ago (1 children)

    its for when the reqs include azure ad and the whole office has a m$ fetish yet you still gotta get your bag without losing your decades-built toolset AND you have a choice at all

    [–] digdilem@lemmy.ml 2 points 1 day ago (1 children)
    [–] sixtoe@lemmy.blahaj.zone 2 points 1 day ago

    edus and with the heavy m$ edu discounts attract and hold

    [–] Tartas1995@discuss.tchncs.de 15 points 3 days ago* (last edited 3 days ago) (2 children)

    Serious answer,

    Windows subsystem for Linux.

    [–] digdilem@lemmy.ml 6 points 2 days ago (1 children)

    I do know what it is, I just don't know why you'd use it instead of proper linux, or a vm.

    [–] tal@lemmy.today 8 points 3 days ago* (last edited 3 days ago) (1 children)

    https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

    Windows Subsystem for Linux (WSL) is a component of Microsoft Windows that allows the use of a GNU/Linux environment from within Windows, foregoing the overhead of a virtual machine and being an alternative to dual booting.

    [–] dogs0n@sh.itjust.works 11 points 3 days ago (1 children)

    Them tryna suck us back into their dysfunctional os, not gonna work on me Mr Micro

    [–] HelloHotel@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

    Oddly enoigh, they recognize this and are patching the hundreds of tiny holes. I would argue they began trying (IMO malformed) fixes back since the launch of windows 8 and .NET. It's backwards compatability means tiptoing around some pretty huge tech dept. (Windows was DOS and had no security model at one point) Each time they try to pull people off of their older SDKs. If and when they dont stick, the pile of stuff to support grows one more.

    (Also WTH where they thinking with windows 8 apps!? The oversimplicity of the UI leading to huge patches of unused screen space, the art design or lack thereof, the janky unpolished UI elements. It's embarrising for how much pride they had for it.)

    [–] pool_spray_098@lemmy.world 6 points 2 days ago (1 children)

    I love having it at work, so I can write and run bash scripts on my Windows work PC.

    I have dozens if Linux servers available to me but sometimes it just is easier to run a script locally.

    [–] digdilem@lemmy.ml 2 points 2 days ago

    I too do that, working from a windows vm and writing code for linux - but I push it to a linux vm for testing. Never occurred to me to use WSL and have another environment to configure and maintain for dev that's different to the target one.

    But fair play if that suits you! Each to their own, and I'm sure I do things that make no sense to others.

    [–] endeavor@sopuli.xyz 1 points 2 days ago

    I don't know what WSL is.