this post was submitted on 19 May 2025
727 points (97.6% liked)

Technology

70266 readers
4059 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 3 days ago (1 children)

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.

[–] [email protected] 3 points 2 days ago (2 children)

I've recently started using windows again for work, after not touching it for like 15 years, msys2 makes it tolerable.

I'm a devops engineer, and my company won't allow me to use WSL. Go figure.

[–] [email protected] 1 points 1 day ago (1 children)

Uh.. But that's what it's for? Like it's it's primary purpose..? They created it for devops..? What are they smoking?

[–] [email protected] 1 points 1 day ago (1 children)

Msys2 was not created for devops, I just happen to be a devops engineer who uses it. Their websites describes it as:

MSYS2 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software.

Because it makes software building, packaging and distributing as simple aand standardised as it is on Linux, it means they effectively have a very good CLI on their hands. On my work laptop, I now use WezTerm with fish shell and helix editor for my workflow, and live in the terminal. Would this be possible to do without msys2 or wsl? Yes, but it would be a huge pain.

[–] [email protected] 1 points 1 day ago (1 children)

It's like telling a car mechanic to not use duct tape imo

[–] [email protected] 1 points 1 day ago

I don't follow

[–] [email protected] 1 points 2 days ago (1 children)

MSYS2 is odd, I could never figure out how to set it up a sort from the one with Git. When I was more of a power user I used Cygwin. Babun is cool but unmaintained last I remember, and is just Cygwin with some enhancements.

As much shit as MS gets (and rightfully so) around 2019 they began turning their reputation around for dev stuff. They've lost all that good will though.

[–] [email protected] 2 points 2 days ago (1 children)

I could never figure out how to set it up a sort from the one with Git.

That's because the one provided with git is a nerfed version of msys2. If you install msys2 as a standalone thing from their website, you get everything you need for a functional CLI on windows. Most importantly, you get a real package manager and decently populated repositories.

[–] [email protected] 1 points 1 day ago

I had a typo. I meant "apart from the one with Git"