This is seriously awesome! Light years from how Bill and Steve would try their hardest to block unix/windows interoperability. Oh how times change.. for the better.
actually that is an incorrect statement. Bill and Steve were best of friends.. so obviously NOT what you believe. MS actually bailed out Apple a couple of times, they were not counter, they just have different ways of doing things. Both wanted to be a front runner so of course they could let the other side win, but there was very little they interfered with. Both OS has it's merits.
Thanks for the introduction. I just switch from Mac to Windows. WSL completes the last missing piece. From my engineering sense, simulation via translating system calls is supposed to be faster than via running entire OS on a VM. Interestingly, you got different result.
WSL is Awesome. I Love it... And with WSL2, specially the Much Better File I/O Performance, it's even better. I liked the way you explained why you prefer Spaces to Tabs and it's a very very good point... Thanks a Lot and Keep Developing and Improving WSL... From India
The weird thing is that i prefer tabs for the exact same reason, you can configure how wide you want the tabs to display so if one person prefer 2 spaces and the other one prefer 4, then they just configure they editor to display now much they want. Using spaces don't allow this. So weird that this debates still exists since tabs can do the same thing and more, and also require less button pressing.
I would not be surprised if this is something Microsoft is working on next. I assume the goal of this update was focusing on 100% compatibility and performance. Next definitely could be a native Xserver, but we are probably a year away sadly.
@@BennoKushnir can you point me to a user friendly guide for that? Currently I am developing a website on my virtualbox linux machine since I have to work with windows as well and can't really dual boot. Using WSL would be better for me along with VNC or xserver or xming.
@@SahilP2648 I'll post details in a few minutes on my site at https:\\techzerker.com , as with WSL1, I use a quick and dirty .vbs script w/ VcXsrv on windows to use a full i3 Desktop on my Windows 10.
So you are showing Docker in Windows is available in the WSL2 does that mean it still required Hyper-V ? I was hoping that I could install Docker in Ubuntu/WSL2 while still not have Hyper-V enabled so that I can continue to also run vmware.
What are the specs of the laptop you were doing demos on? Just wondering for comparison sake. Do you have SSD and what is the RAM \ CPU configuration. Just basics. Also very good presentation, explanations and details. Nice video. Thank you.
Moved away from MacOS. Keep up the good work, windows seems to be having a bright future (until linux devs figure out how to do fractional scaling in 50 years from now)
Great news! One question though: will enabling the virtual machine feature of windows conflict with any other vm client installed on the same machine, like virtualbox for example???
Someone else correct me if I am wrong, but If the Linux kernel is running in A windows hyperv virtualization environment. Then I believe this will interfere with any other virtualization software that would be used to run vms in windows. (like vmware or virtualbox) normally most processors (Intel and Amd) will not let you run multiple virtualization solutions at the same time on one operating system.
Δημήτρη το VirtualBox δεν μπορεί να δουλέψει μαζί με το HyperV, αλλά μπορείς να χρησιμοποιήσεις το HyperV για να φτιάξεις δικά σου VMs όπως κάνεις και με το VirtualBox. Εγώ έχω στήσει Windows XP, Windows 7 μέχρι και Ubuntu έχει να βάλεις που είναι optimized.
The feature you are supposed to enable is the "virtual machine" and not hyper V. If you enable hyper V in windows it surely isn't going to work with another VM proprietary client like VMware or VirtualBox, but what about this specific windows virtual machine feature..? (Το ξέρω Χρηστάρα, ευχαριστώ!)
@@dimitriskatsoulis4986 το feature "Virtual Machine" χρησιμοποιεί το Hyper-V. Σε προηγούμενες εκδόσεις δεν υπήρχε καν virtual machine και έπρεπε να βάλεις HyperV και WSL. Σου προτείνω να το δοκιμάσεις το HyperV. Και εγώ δούλευα VirtualBox αλλά από τότε που το docker το γύρισε σε HyperV μετέτρεψα όλα τα VMs και σε HyperV και το ξήλωσα το VB
I hope they're working on performance of working on files on the windows file structure. Would love to have my code sync to my google drive, makes working across different machines a lot easier
The file i/o speed increase I'm guessing are only when running on the WSL file system. Given its now a vm guessing it will actually be slower accessing ntfs files in Windows folders?
It shouldn't be too bad as the 9P protocol is actually pretty efficient. It's possible it's even slightly faster (as in only twice or three times as slow as native, in-VM access)
Paul-Stelian Olaru quick google search shows a lot of complaints about how slow WSL2 file performance is. And some comparing to WSL1. THInk showing the IO performance inside the vm is a bit dumb as you will want to be using the mounted NTFS drives for your work.
This looks really cool. I've tried it for ruby but the plugins like solargraph, rubocop, never work because they're still looking in the windows system for those gems I've installed. would love it if the plugins were also working for vscode
Is WSL v2 on par with v1 in terms of hardware support now? If I recall correctly WSL didn't have some USB functionality along with other hardware support like serial.
This would be great if I could only use it at the same time as Virtualbox / VMWare Workstation instead of having to restart several times to disable Hyper-V, then virtualization Guard or whatever any time I want to use one or the other.
I believe that this is on the team's backlog to build in support for, but currently not officially supported. github.com/microsoft/WSL/issues/2195 That said, been meaning to try this to see if it works, just need to make the time... github.com/microsoft/WSL/issues/2195
I hate having to have 2 computers, or runing one in something like VMware that takes a lot reasourses. That's why I love WSL now, but there are some things that I can't do, so I'm super excited about WSL2 when it comes out thia April with the 2004 version of Windows 10
Ya, thanks.@@JustSomeAussie1 I'm normally doing something that I have to use windows for, then also SSHing into Linux to make sure the software runs there as well.
Ok so if WSL2 has a full blown linux kernal, doesnt there still have to be an interface/compatibility layer to interface with Windows to access the files/folders/ and executables? How does that work now? BTW I am a fresh engineer.
So just to confirm, I was hoping that WSL2 would alleviate us from using HyperV. Seems you've still managed to keep HyperV busy, just with a more lightweight kernel and no translation layer. So WSL2 doesn't mean the dependency on HyperV is going away?
Hyper-V works, what is the problem exactly? WSL 2 works, if you use Windows I have news for you.. hyper-V will be even MORE dependent later. I imagine there will be an embedded ROM chip that boots and you choose to run any OS you want... virtually. It will be come the future. Phones I suspect will do the same. You buy a phone run whatever OS you want, iOS, Android, Blackberry, Windows, whatever.. it's just a VM. So what is the problem as long as it works.. plus with Virtual you can have many OS on same hardware, no dual booting not complicated install just scripts that switch \ install and integrate. Don't understand the resistance to using Hyper-V. It's stable and its natively a part of Windows. Even if you 'turn off' it's not really off..it's just dormant.
All nice but what would be really nice if you stopped hogging up cpu in the background i am seeing huge drop in performance with wsl2 installed in cinebench my score go's from 7450 down to 7200 max and 400 point drop in 3dmark, all i would use it for is to compile ipxe kernel im better off using virtual box if its gonna sacrifice performance.
Have they fixed the problem where if you try to run Node.js in WSL after the VS Code SSH server is installed it tries to start the actual Windows installation of Node? That has driven me mad to a point where I simply stopped using WSL and started using an Ubuntu virtual machine instead. The fixes/workarounds seemed long and complicated and risky to my environment.
I installed NVM on WSL2 Ubuntu and I didn't have any issues when connecting from VSCode and working with node, even changing versions. Maybe you experienced an issue that you haven't installed nodejs in Ubuntu and WSL picked it up from Windows.
Hey buddy, I looked over many blogs and stuffs but never found any solutions for that, When i run my JavaScript projects on wsl2 like react and node the auto-completion code suggestion (vs-code intellisense) becomes slow...Please help me out if any solution Thanks in advance
Since WSL2 will use Hyper-V architecture, will I be able to use WSL2 and VirtualBox at the same time? VirtualBox only works when all Hyper-V functionalities are disabled.
Using Hyper-V and VirtualBox together has been possible for over a year now (since VirtualBox 6.0) - for more info see forums.virtualbox.org/viewtopic.php?f=6&t=90853
hello, i am having issue to run .exe from windows directly from wsl, if i do notepad.exe it opens correctly, but when i type paraview.exe (that is the exe i want to run) it says command not found :/
I never understood why its not called Linux subsystem for Windows? Or even better, it could be called Line (short for Line Is Not an Emulator) Also why didn't you synchronize the input in the tabs? When showing the speed? Isn't the terminal fully featured?
How to do you assign an IP number to wsl2? I had a lot errors after installing Postgres. I can't see the port for example. Installing Postgres on CentOS VPS is pretty straight forward. pgAdmin works fine on Windows 10. WSL2 still needs alot of work. Powershell works just fine the way it is. The new windows terminal is beta a best.
um.. you obviously don't have a clue. WSL 2 is a vehicle. nothing more. They have pre-built install of certain Linux versions (you can choose between a few). Linux RUNS as a NATIVE OS inside hyper-v but it's integrated at the command level with Windows. has ZERO to do with WSL 2 being a different method of installing Linux. Linux runs and it works great, you clearly just want to keep your Windows the way it is and have no interest in trying to work with Linux. That much is abundantly clear. CentOS, Redhat, Debian, Ubuntu any of those can install in WSL 2, natively. Don't understand your complaint. They didn't change ANY Linux code it's the same as always so if Postgres works it will work in WSL 2 as well.
Is it possible to have Windows apps that call command line programs like Git use those programs if they are installed in WSL? This would make it so that I don't have to have the same programs installed both in Windows and Linux with duplicated configs.
Yeah, WSL2 and Docker for Windows both use Hyper-V which is incompatible with VMware and Virtualbox products. docker-machine can be made to use either Hyper-V or Virtualbox.
but wsl2 takes a lot of memory whereas VirtualBox is not increasing memory indefinitely, I have to throttle up in .wslconfig to 4 GB ram but I cannot run a script which requires more than 4 GB ram
Why not spaces for both of those? I don't see how a tab is specifically better for indentation when certain languages have different expectations for how many spaces you should use for indentation (if you have your tabs set to 8 spaces and you load a Delphi document with tabs where the standard is 2, oh boy will it look so out of place). Just use soft tabs or something
@@stefanalecu9532 because tabs allow the viewer to use whatever indentation size they desire. baking this into the file is unnecessary. if changing the tab size makes it look wrong, then you're doing it wrong. hence tabs for indentation, spaces for alignment.
You can do that, just install Xming, do some "export DISPLAY=0" something-something in your .bashrc, and you're done I've actually run OpenArena, QtCreator and Firefox on WSL years ago doing this
Anaconda, Haskell should all work just fine under it since it's actual Linux. The only things that still don't work are the things that require custom hardware drivers, including USB, GPU.
Or give wsl the ability to load up and run a linux distributions you have installed via dual boot. So that gives you the ability to run linux seperate or run windows and then tell it to also sideload the linux os as a workspace or in a container window as if the os was a program.
Command 'code' not found, did you mean: command 'cdde' from deb cdde command 'cde' from deb cde command 'tcode' from deb emboss command 'node' from deb nodejs command 'ode' from deb plotutils command 'cobe' from deb python-cobe Try: sudo apt install