I love it, it's much faster than a VM and it does all the basic things I need it to do, What do you think?
For further actions, you may consider blocking this person and/or reporting abuse
I love it, it's much faster than a VM and it does all the basic things I need it to do, What do you think?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (47)
I’ve been a Linux user since 1999. I just started messing with WSL a few weeks ago for an article. I’m still using it and Windows. I haven’t been back on my Linux install since. Windows has better apps, Linux has a better Dev environment. Now I have the best of both it seems.
What's your field of development as far as Linux goes?
Sorry fell off the face of the planet.. But i'm actually in IT sales and new to development... so I post as I learn.
It works pretty well for me. I like it because it allowed me to stop using a virtualbox VM to develop on windows.
I have occasionally run into wsl specific bugs with things like pipenv and docker. Overall, I like it and am willing to work around these bugs in exchange for the convenience of wsl.
I think it's a good marketing move from MS.
However, I'm not sold on it being a great thing other than letting you use sensible tools for text processing on Windows directly. Performance is actually worse than a VM for most of the stuff I've tried using it for (no, seriously, I get better performance for file access by using SMB over a private network interface to a VM than I do using 'direct' access to the files through WSL), and there's a lot of useful things (especially for IT professionals) that you just can't do with it (like recovering data from a dying hard drive out of an old Linux server).
With respect, you've clearly not taken a look at WSL2 then, which uses lightweight VM to run a real Linux kernel image atop which each distro is hosted its own container. Net result is that you get 100% Linux compat, Hyper-V levels of perf (i.e. v. near native for most scenarios), and all the convenience of distros' that startup from cold in < 2s.
Can't please 'em all, Rich!
... can't wait for wsl 2 to be available in the slow insiders releases.
Oh, no, I've looked at WSL2.
The filesystem performance benefits are mostly contingent on you having all your data inside the container, which is not an option for me (I need access to the actual datasets I'd be working on outside of WSL as well without having to sync them manually).
The pass-through filesystem performance may improve a bit because of the switch to 9P2000L over VirtIO for file sharing, but unless they've decided that Windows Defender doesn't need to be involved, it won't be enough to mater for many potential use cases, including mine.
Also, it's not 100% Linux compatible. It still doesn't let you poke at raw block and character devices, so anything that needs to work with hardware directly (like all of the IT related stuff that it would be useful for other than a simple network console) just plain won't work.
The only file performance issues I've seen are when I try to work across the Windows and Linux file systems. I'm running a WSL2 Linux dev environment for my web developer bootcamp and as long as I'm not storing my project files on a Windows volume and accessing from Linux but instead working directly within my WSL2 Ubuntu 20.04 distro file system, there is no file performance problem.
Back when I originally posted, WSL2 was still in it’s infancy and did still have some limited file performance issues even inside the VM environment itself. All the experience I had at that point though was with WSL1, which demonstrably has serious filesystem performance issues (though not as bad now as they use dto be).
WSL2 today does indeed have essentially no performance issues for stuff contained in the VM environment itself, and only limited performance issues for access outside of that context.
I think it's in the right direction, but still need work to become closer to actually running Linux "natively".
Somethings still don't work, like Docker.
And performance improvements.
But it's already very useful.
WSL2 literally runs Linux natively. In a lightweight VM upon which distros run hosted in their own containers.
That's why I used double-quotes. Although it's native on a VM, the experience from the developer perspective is not the same. Hence the mentions in the comments about things that still don't work on WSL as well (or at all) as in non-VM Linux.
I've been using WSL pretty much since it came out. Working in a pretty much fully MS infrastructure it's allowed me to carry out dev tasks I would normally need a separate VM for.
That said, there were a lot of 'workarounds' needed to get things like Docker working satisfactorily.
I recently moved to the Insiders build of W10 so I could try out WSL2 and the Windows Terminal. Using Docker with WSL2 is so much better and makes everything so much more seamless.
In all I'd say it's a good thing, but I can understand peoples reservations with it.
Well, I would like to add my thoughts here.
I started trying out WSL immediately after it was released. I remember getting excited about hearing Bash on Ubuntu on Windows 10.
I used it for basic necessities and for basic software development with it only. I remember that slowly, I completely switched my development environment to Bash on Ubuntu. It was a great tool for software development. The only thing what irked me about WSL was how slow it was. I remember it took me a few minutes to git clone a project which just took seconds on an Ubuntu machine.
But overall, I loved the beautiful UI and UX of Windows 10 and the Shell of Ubuntu together. ♥️
And in the end, WSL came really handy while I was working as a student developer at GitHub (GSoC).
I am currently on OS X, so, sadly no WSL for me now. But I have been following WSL and WSL2 and the progress that it is making on Twitter.
Microsoft, @richturn_ms and his Team are working and improving this product really great, and I hope I will try WSL2 really soon.
I think it's problematic in terms of where it comes from.
Microsoft is working on its Sphere and will presumably be using this platform to for the "extinguish" phase of its traditional Embrace, Extend, Extinguish policy.
WSL is very like WINE except not so good and with dubious motives.
And it really isn't that good. You can't access devices properly. You can't even read an ext* file system because everything's proxied. The terminals - even the one Microsoft launched with that music video - are rough and unpleasant to use. There's no proper display support.
It's difficult for me to see what benefit WSL gives. I know a lot of developers who use Git Bash (full disclosure, I haven't) and that gives them everything they need.
WSL seems like a funny halfway-house that's just there so Microsoft employees can say, "see? why do you need to install that other OS when you can do it all from inside ours?"
Terminal is brand new and early in its development. That said, it's also improving very quickly and is now the daily driver command-line experience for many.
WSL, esp. WSL2 provides Windows users with many features that they have lacked for years, including a very/fully compatible Linux environment running alongside their Windows apps and tools. WSL enables users to seamlessly access files in their Windows filesystem, and for Windows to access files within each distro. It's also easy to invoke Linux commands from Windows and Windows binaries & tools from within Linux distros running on WSL.
It's far from a "funny halfway-house" - it's a very real and highly productive environment for anyone who needs to use Windows and Linux tools at the same time.
maybe its because iI have been using windows my entire life, but i quite like that new terminal :)
I live in WSL. It is a spectacular tool IMO. I've wanted to move to Linux for a while (due to it being a superior dev environment) but never have because of Windows programs I use. WSL gives me the best of both worlds. I'm looking forward to trying out WSL2 as well!
WSL 1 has been available for everybody since Windows 10 1703. WSL2 is currently under development which is why it hasn't been released outside Insiders builds yet, because Insiders builds are weekly snapshots of the NEXT version of Windows as its being built. WSL2 will be in the Windows 10 release currently planned for spring 2020. Until then, if WSL 2 is important to you and your workflow, we encourage you to try out fast/slow ring Insiders builds and let us know if you find issues.
WSL changed the way I work. No more dual-booting or running a full Ubuntu VM. WSL made it possible for me to completely switch over to Windows from macOS.
Still running WSL1 because I don't run beta OS builds on my main work machine.
It does everything I need and despite hearing all these complaints about it being sluggish before I tried it out, I don't find it to be that slow at all. Much faster than the VM I used to run.