... Not to be confused with WSL 2, the VM-based successor to WSL 1's tighter integration of Linux binary compatibility into NT. Both WSL 1 and WSL 2 seem to still be delivered as part of the package that has just reached version 2.0.0, though it doesn't seem WSL 1 is getting much (if any) work these days as it's considered a technological dead-end.
(And in case anyone's interested, it appears WSL 2 was added before this package reached 1.0)
I wonder which is better, WSL with native gaming, or native Linux with virtualized gaming via WINE and Proton. I suspect both solutions will reach parity in the next ten years.
Now if only I could run macOS with full GPU acceleration on Windows or Linux without needing a separate GPU, then I wouldn't need a Mac for the few times I develop and build for iOS.
Honestly, whoever convinced Microsoft to make Linux run in windows was a genius. I would have seriously considered a Mac had they not done this. It just opens so many possibilities in Windows for me and all of it is so easy and simple to setup.
Yes, although that person probably retired long ago since the idea dates back to 1990 or so (NT Posix subsystem). The difference in modern times is someone convinced them to make it usable.
The naming causes some confusion to me. I thought there was WSL and then they released WSL2 quite some time ago. Is this WSL1 version 2 or WSL2 version 2?
Following it from a distance, I think WSL has been a very exciting development on Windows. It's really something I would probably have enjoyed more upclose, had I not, you know... moved to Ubuntu altogether :)
I'm going to wait a while to see how the new VPN stuff works out. Previously WSL2 didn't work with a Windows VPN without an extra tool ( https://github.com/sakai135/wsl-vpnkit ), hopefully this might fix things, but not going to risk trying it in case it breaks everything.
This is the most painful aspect of WSL2: if your org forces you to use a VPN your WSL2 is almost totally isolated from the network. Interestingly we have the same problem with our VPN and docker
Please correct me if I'm wrong. This isn't a release but a "re-release" right? So only available to those on Windows insider update train?
Putting that aside. I am quite excited about the mirror network change. My big annoyance when I moved from WSL1 to WSL2 was that a service run inside WSL wasn't available to the my LAN. It made sense why it didn't, WSL2 is a hardware VM so you weren't binding on the hosts networking stack like WSL1, but it was still annoying.
WSL1 is what keeps me on Windows - but I don't understand why they keep calling WSL2 "WSL" as it has nothing to do with the traditional "Windows service for XXX" model. For better or worse WSL2 is just a virtual machine, nothing else, while WSL1 actually integrates with the underlying Windows with a single network stack etc.
Been using wsl2 for development for a long time I don't see how it's not integrated enough with windows. For my use case it seems completely transparent to the fact that it's running in a vm.
The ability to release memory could be very useful. WSL2 works very well for me in general, but on a Notebook without excessive RAM it can be problematic for some use cases. Anything that has large spikes in memory usage can be seriously annoying as that memory won't be released in the current WSL2.
As others mention, the versioning scheme is confusing. I'd like to add that I found even the name confusing, as I initially thought that this would allow some parts of Windows to run on Linux.
"Linux Subsystem for Windows" would have made a lot more sense to me.
Actually WSL doesn't contain any Linux at all because "Linux" originally refers to the Linux Kernel and usually GNU/Linux refers to a system using Linux as a kernel but GNU software for the userspace. So, the Name should rather have been something like "Windows Subsystem for Posix Programs" which doesn't quite sound so good.
I've been a big fan of WSL, which has kept me on Windows for years more than I otherwise would have. But I'm not a fan of the trend of Windows turning into an adware hosting platform so intend to move to macOS for my primary Desktop after Apple release their next M3 hardware.
As a .NET Developer I bought a new M2 Macbook Air to test the feasibility of moving to ARM/Apple Silicon and was pleasantly surprised that all the software I used daily had native builds that worked OOB [1]. I was also able to run Windows 11, Ubuntu and Fedora ARM OS's with UTM [2], which lets me access Windows should I ever need to.
As nice as WSL is, it's not as nice as having a native Unix terminal as it still feels like your living in 2 different worlds. It's always going to be uncanny valley where you need to install software tools twice per OS (and upgraded in-sync) and the cross-OS file system performance is so unusably slow that it may as well not exist as you're basically forced to check out repos in each filesystem. Also ran into a number of situations where building and using WSL tools isn't as well supported as Linux/macOS.
By contrast everything I tried to install seemed to work on macOS, where I was able to build and try out LadyBird Browser's new native macOS UI [3] and install all the tools I needed run and test out local AI workflows [4], e.g. this command below uses ffmpeg to capture 5s of microphone recording, uses OpenAI's whisper to transcribe the audio to text, uses curl to send it to a remote API to generate an LLM prompt, that gets executed with a local install of Llama2 7B:
[+] [-] wtallis|2 years ago|reply
(And in case anyone's interested, it appears WSL 2 was added before this package reached 1.0)
[+] [-] winternewt|2 years ago|reply
[+] [-] unknown|2 years ago|reply
[deleted]
[+] [-] cloudking|2 years ago|reply
[+] [-] pynappo|2 years ago|reply
[+] [-] satvikpendem|2 years ago|reply
Now if only I could run macOS with full GPU acceleration on Windows or Linux without needing a separate GPU, then I wouldn't need a Mac for the few times I develop and build for iOS.
[+] [-] Zardoz84|2 years ago|reply
[+] [-] tomohelix|2 years ago|reply
[+] [-] dboreham|2 years ago|reply
[+] [-] john61|2 years ago|reply
[+] [-] prirun|2 years ago|reply
Embrace.
[+] [-] threatripper|2 years ago|reply
[+] [-] Reubend|2 years ago|reply
[+] [-] Semaphor|2 years ago|reply
Totally made up conversations about choosing Entity Framework version numbers: https://blog.oneunicorn.com/2020/03/26/numbersarehard/
[+] [-] DiabloD3|2 years ago|reply
Think of this as, kinda, the userland tools for WSL.
[+] [-] deaddodo|2 years ago|reply
This release refers to WSL2 version 2.0.
[+] [-] baq|2 years ago|reply
> experimental.dnsTunneling- Changes how WSL resolves DNS requests to improve network compatibility
> experimental.firewall- Applies Windows firewall rules to WSL, and allows for advanced firewall controls for the WSL VM
> experimental.autoProxy- Makes WSL automatically use the proxy information from Windows to improve network compatibility
Had to work around these back in 2020-ish… finally a way to run WSL2 with Cisco VPN without horrible hacks? Fantastic!
[+] [-] WirelessGigabit|2 years ago|reply
[+] [-] timost|2 years ago|reply
[+] [-] jw_cook|2 years ago|reply
[+] [-] kyriakos|2 years ago|reply
[+] [-] dataflow|2 years ago|reply
[+] [-] sverhagen|2 years ago|reply
[+] [-] CJefferson|2 years ago|reply
[+] [-] bafe|2 years ago|reply
[+] [-] AndrewDavis|2 years ago|reply
Putting that aside. I am quite excited about the mirror network change. My big annoyance when I moved from WSL1 to WSL2 was that a service run inside WSL wasn't available to the my LAN. It made sense why it didn't, WSL2 is a hardware VM so you weren't binding on the hosts networking stack like WSL1, but it was still annoying.
[+] [-] throwaway798214|2 years ago|reply
[+] [-] kyriakos|2 years ago|reply
[+] [-] Falmarri|2 years ago|reply
[+] [-] TheSmiddy|2 years ago|reply
wsl --update; wsl --update --pre-release
https://devblogs.microsoft.com/commandline/windows-subsystem...
EDIT: you also need to be on the latest windows insider build to actually take advantage of the experimental features.
[+] [-] fabian2k|2 years ago|reply
[+] [-] bakugo|2 years ago|reply
[+] [-] grumpyprole|2 years ago|reply
[+] [-] unknown|2 years ago|reply
[deleted]
[+] [-] ssdspoimdsjvv|2 years ago|reply
[+] [-] hs86|2 years ago|reply
[+] [-] smokel|2 years ago|reply
"Linux Subsystem for Windows" would have made a lot more sense to me.
[+] [-] threatripper|2 years ago|reply
[+] [-] idatum|2 years ago|reply
[+] [-] mythz|2 years ago|reply
As a .NET Developer I bought a new M2 Macbook Air to test the feasibility of moving to ARM/Apple Silicon and was pleasantly surprised that all the software I used daily had native builds that worked OOB [1]. I was also able to run Windows 11, Ubuntu and Fedora ARM OS's with UTM [2], which lets me access Windows should I ever need to.
As nice as WSL is, it's not as nice as having a native Unix terminal as it still feels like your living in 2 different worlds. It's always going to be uncanny valley where you need to install software tools twice per OS (and upgraded in-sync) and the cross-OS file system performance is so unusably slow that it may as well not exist as you're basically forced to check out repos in each filesystem. Also ran into a number of situations where building and using WSL tools isn't as well supported as Linux/macOS.
By contrast everything I tried to install seemed to work on macOS, where I was able to build and try out LadyBird Browser's new native macOS UI [3] and install all the tools I needed run and test out local AI workflows [4], e.g. this command below uses ffmpeg to capture 5s of microphone recording, uses OpenAI's whisper to transcribe the audio to text, uses curl to send it to a remote API to generate an LLM prompt, that gets executed with a local install of Llama2 7B:
Maybe you can achieve similar functionality in Windows/WSL, but it's nicer when all the tools you want to use just works natively.[1] https://servicestack.net/posts/postgres-mysql-sqlserver-on-a...
[2] https://mac.getutm.app
[3] https://twitter.com/awesomekling/status/1694954938395202031
[4] https://servicestack.net/posts/building-typechat-coffeeshop-...