WSL2: Code faster on the Windows Subsystem for Linux! | Tabs vs Spaces

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 430

  • @bharcooldude
    @bharcooldude 4 года назад +193

    I'd love to have GPU hardware support for WSL versions in the future to run my deep learning algorithms on linux environment.

    • @anonymoususer6801
      @anonymoususer6801 4 года назад +9

      That is the only reason why don't use it yet

    • @yisonpylkita6006
      @yisonpylkita6006 4 года назад +4

      GPU passthrough should be doable since other VMs also has it

    • @paulstelian97
      @paulstelian97 4 года назад +3

      Hyper-V doesn't have PCI passthrough support at all for now.

    • @AB-fp8xo
      @AB-fp8xo 4 года назад +2

      @@paulstelian97 PCI passthrough is available for years in Hyper-V via discrete device assignment

    • @log5426
      @log5426 4 года назад +2

      @@paulstelian97 So you could technically use WSL2 for machine learning?

  • @TheoWillemse
    @TheoWillemse 4 года назад +262

    Nice video, but the guitars between subjects are way to loud.

    • @barabimbaraboom7830
      @barabimbaraboom7830 4 года назад +2

      Screw you microsoft! ;-) nothing personal Theo

    • @J3lueHawK
      @J3lueHawK 4 года назад +5

      I started laughing every time ... So damn annoying

    • @shubhamsinha6829
      @shubhamsinha6829 3 года назад +2

      lol

    • @guyincognito1985
      @guyincognito1985 3 года назад +1

      LEGALIZE RANCH!

    • @conea6891
      @conea6891 3 года назад +1

      U damn right. The girl next door had to knock my door. lol

  • @zubinix
    @zubinix 4 года назад +38

    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.

    • @rparker061
      @rparker061 4 года назад

      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.

    • @BogdanNasalean
      @BogdanNasalean 4 года назад +15

      ​@@rparker061 I think zubinix was referring to Steve Ballmer not Steve Jobs.

    • @ElementaryWatson-123
      @ElementaryWatson-123 2 года назад +1

      instead of fighting Linux, Microsoft decided to absorb it

  • @changtimwu
    @changtimwu 4 года назад +11

    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.

  • @shahamir13
    @shahamir13 3 года назад +15

    What you guys have done with your WSL is phenomenal. Kudos to all of you and Microsoft.

    • @rolmops883
      @rolmops883 Год назад +1

      Translation: Running Linux is phenomenal, finally Windows users get to experience the benefits :D

    • @rano12321
      @rano12321 Год назад +2

      @@rolmops883 While not deal with the headaches that come with running Linux desktop.

    • @rolmops883
      @rolmops883 Год назад

      @@rano12321 headaches like what? I've been running Linux for years now, and I honestly can't think of anything

  • @harou22
    @harou22 4 года назад +23

    Love the progress so far. Next step is ditching
    for
    in Windows O:)

    • @buzifalus
      @buzifalus 4 года назад +1

      haha this will never happen

  • @aashishdhiman5847
    @aashishdhiman5847 4 года назад +23

    Super excited for the release of WSL 2!!

    • @slowtyper95
      @slowtyper95 4 года назад

      Oh its not release yet?

    • @Tux0xFF
      @Tux0xFF 4 года назад

      @@slowtyper95
      it is but you need to be on the buggy version of windows , its like a beta windows 10, not the regular windows 10

    • @BattousaiHBr
      @BattousaiHBr 4 года назад

      @@Tux0xFF i mean, is there a difference? haha

  • @davi_ufop
    @davi_ufop 4 года назад +130

    WSL need of Xserver native.

    • @Ruptured_AU
      @Ruptured_AU 4 года назад +5

      I've had x server working on wsl1 and ran php storm from it. Just follow a guide to setup x server

    • @James-ln6li
      @James-ln6li 4 года назад +5

      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
      @BennoKushnir 4 года назад +1

      xming should be good enough

    • @SahilP2648
      @SahilP2648 4 года назад +1

      @@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.

    • @techzerker8900
      @techzerker8900 4 года назад +1

      @@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.

  • @evstigneevigorv
    @evstigneevigorv 4 года назад +21

    We need USB support for engineering tasks - FPGA Development, DSP Programming and so on ...

    • @kursatyakupkukul7670
      @kursatyakupkukul7670 4 года назад

      definately agree ! With usb support I could let go of linux!

  • @arturskarlovics9929
    @arturskarlovics9929 4 года назад +8

    Damn this is impressive... Can't wait until it get's released - I can't sign up to be an insider on my work computer.

  • @Noobtaco
    @Noobtaco 4 года назад +16

    Tab vs Spaces. It's ok that you are wrong :) Thanks for the video on WSL 2.

  • @bimalchandrakarmakar1427
    @bimalchandrakarmakar1427 4 года назад +24

    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

    • @anuragstutorials9484
      @anuragstutorials9484 4 года назад +5

      Why not just use Linux

    • @bimalchandrakarmakar1427
      @bimalchandrakarmakar1427 4 года назад +6

      @@anuragstutorials9484 Because my workflow requires Windows Apps and I love them. Example: Office, One Note, To Do etc

    • @SantoLucasST
      @SantoLucasST 4 года назад +1

      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.

  • @eriklundstedt9469
    @eriklundstedt9469 4 года назад +84

    So wsl on windows 10 is just like a reverse wine?

    • @henninghoefer
      @henninghoefer 4 года назад +51

      WSL1 was a bit like that. WSL2 is a real Linux Kernel running in a Hyper-V VM behind the scenes and some nice tooling around it.

    • @prashand4899
      @prashand4899 4 года назад +4

      It's better

    • @ml_serenity
      @ml_serenity 4 года назад +6

      @@prashand4899 worse actually, since Wine allows to run apps with graphical UI and even games

    • @chezchezchezchez
      @chezchezchezchez 4 года назад

      @@ml_serenity F LOVE IT!

    • @DaveSohan
      @DaveSohan 4 года назад +31

      @@ml_serenity so what? You want to run Linux games on Windows now?

  • @grindinglcmeow
    @grindinglcmeow 4 года назад +8

    The transition guitar soundtrack tho lol

  • @ash_ish
    @ash_ish 4 года назад +1

    I loved that guitar sound lol. That was so good and catch me off guard.

  • @educobuci
    @educobuci 4 года назад +3

    Nice! The tab part is totally random though :)

    • @asandax6
      @asandax6 4 года назад +1

      I still have no idea why they put it there I don't think it was supposed to be part of the video but the editors decided what the heck put it in.

  • @UkiyoStudioYT
    @UkiyoStudioYT 9 месяцев назад

    Late to this video but this was a great overview of WSL2 for windows

  • @BennoKushnir
    @BennoKushnir 4 года назад +23

    So, would WindowsDefender find malware in linux-binaries?

    • @asandax6
      @asandax6 4 года назад

      Linux doesn't have that many malware which is why Most people use linux without any anti-virus.

    • @lluism200
      @lluism200 4 года назад +6

      did WindowsDefender ever find ANY malware?

    • @BattousaiHBr
      @BattousaiHBr 4 года назад +1

      lmao i don't know if that was a serious question or not, but it's still funny to even think about the prospect.

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh Год назад

    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)

  • @morrolan
    @morrolan 4 года назад +3

    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.

  • @iamsushantsri
    @iamsushantsri 4 года назад +2

    which software are you using to get all the terminals at one place

  • @rlking12
    @rlking12 4 года назад +1

    wsl is just awesome, I'm using it since day 1

  • @darekf77
    @darekf77 4 года назад

    Microsoft Developers please don't stop develop wsl2! This is best feature in windows ever created....

  • @Loppy2345
    @Loppy2345 4 года назад +3

    About time that Docker came to windows home!

    • @mukundhbhushan6709
      @mukundhbhushan6709 4 года назад

      Loppy2345 it has literally yesterday

    • @franciscosusana2292
      @franciscosusana2292 4 года назад

      So I will be able to use the Docker that I install in my WSL2 as my Docker engine? Because I do not want to rely on Docket Toolbox anymore!

  • @pluralcloud1756
    @pluralcloud1756 4 года назад +1

    Thank you for this-- more to come please....

  • @roozbeh18
    @roozbeh18 4 года назад +2

    "But, However I use Tab key and make editor insert spaces for me" :) If you watched till the end.

    • @haxkrp
      @haxkrp 4 года назад

      Crazy 😂

  • @treadless_co
    @treadless_co 2 года назад

    Liking the iron ring sir!

  • @Marcel-dt5du
    @Marcel-dt5du 4 года назад +6

    Hey, can I access USB devices from wsl2 yet? I need to access my yubikey

    • @MattWojo
      @MattWojo 4 года назад +3

      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

  • @MrAndyll96
    @MrAndyll96 4 года назад

    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

  • @Ruptured_AU
    @Ruptured_AU 4 года назад +4

    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?

    • @paulstelian97
      @paulstelian97 4 года назад +1

      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)

    • @Ruptured_AU
      @Ruptured_AU 4 года назад

      ​ 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.

  • @udonwadon
    @udonwadon 4 года назад +2

    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

  • @carlosanaya198555
    @carlosanaya198555 4 года назад +2

    When are we getting the full WSLconf 2020 recordings?

  • @zhang_han
    @zhang_han 3 года назад +1

    The ring on his right pinky tells me he's a Canadian engineer. And if I had to guess, probably U Waterloo.

  • @MaxAlonso
    @MaxAlonso 2 года назад

    I love the information in the video is very clear, in a side note I also love how lame the music is :D

  • @rparker061
    @rparker061 4 года назад +1

    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.

  • @mosth8ed
    @mosth8ed 4 года назад +8

    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.

  • @JaskoonerSingh
    @JaskoonerSingh 4 года назад +4

    does ubuntu flatpak work and do you need w10 professional to run docker in wsl2 ?

    • @10minutegamers
      @10minutegamers 4 года назад

      docs.docker.com/docker-for-windows/install-windows-home/
      This is a new article showing that with WSL2 you can run it on home

  • @mitch_the_-itch
    @mitch_the_-itch Год назад +1

    I hope WSL3 gives us even more integration. I can run a XFCE desktop through RDP but the experience isn't all that great.

  • @gazoonman
    @gazoonman 4 года назад +5

    How do i integrate WSL 2 using IntelliJ?

    • @Ruptured_AU
      @Ruptured_AU 4 года назад +3

      Just shange the the shell terminal in your settings to the WSL command no path needed just "WSL"

  • @vizz2328
    @vizz2328 4 года назад +1

    Can I do cuda programming in wsl2?

  • @AFLlight
    @AFLlight Год назад

    Is there a way to keep the TOP command results shown a browser or windows client ? I would like one place I can view the resources of all my servers.

  • @dimitriskatsoulis4986
    @dimitriskatsoulis4986 4 года назад +7

    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???

    • @raithelkarasu4889
      @raithelkarasu4889 4 года назад +1

      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.

    • @christoslytras7912
      @christoslytras7912 4 года назад

      Δημήτρη το VirtualBox δεν μπορεί να δουλέψει μαζί με το HyperV, αλλά μπορείς να χρησιμοποιήσεις το HyperV για να φτιάξεις δικά σου VMs όπως κάνεις και με το VirtualBox. Εγώ έχω στήσει Windows XP, Windows 7 μέχρι και Ubuntu έχει να βάλεις που είναι optimized.

    • @dimitriskatsoulis4986
      @dimitriskatsoulis4986 4 года назад

      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..?
      (Το ξέρω Χρηστάρα, ευχαριστώ!)

    • @Ruptured_AU
      @Ruptured_AU 4 года назад +1

      It uses hyper-v so yes it will interfear.

    • @christoslytras7912
      @christoslytras7912 4 года назад +1

      @@dimitriskatsoulis4986 το feature "Virtual Machine" χρησιμοποιεί το Hyper-V. Σε προηγούμενες εκδόσεις δεν υπήρχε καν virtual machine και έπρεπε να βάλεις HyperV και WSL. Σου προτείνω να το δοκιμάσεις το HyperV. Και εγώ δούλευα VirtualBox αλλά από τότε που το docker το γύρισε σε HyperV μετέτρεψα όλα τα VMs και σε HyperV και το ξήλωσα το VB

  • @septanto
    @septanto 4 года назад +32

    that guitar on 00:29 like... ew..

    • @mosk11tto
      @mosk11tto 4 года назад +6

      For real what is that

    • @AlexAegisOfficial
      @AlexAegisOfficial 4 года назад +10

      @@mosk11tto cringe

    • @grimonce
      @grimonce 4 года назад

      I liked the guitar.

    • @TheXr4tz
      @TheXr4tz 4 года назад

      It reminds me some peruvian chicha's guitar style.

    • @ibizenco
      @ibizenco 4 года назад

      Well, what did you expect from Microsoft?

  • @LordHog
    @LordHog 4 года назад +1

    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.

    • @MattWojo
      @MattWojo 4 года назад

      docs.microsoft.com/en-us/windows/wsl/wsl2-faq#can-i-access-the-gpu-in-wsl-2-are-there-plans-to-increase-hardware-support

  • @rickytik-devops
    @rickytik-devops 3 года назад

    I can't ping from wsl2 to the my vpn network? In wsl1, it works fine.

  • @zainliberty4084
    @zainliberty4084 4 года назад +6

    Real awesome features, I believe Windows is helping Linux to defeat it self.

  • @RishabhDeepSingh
    @RishabhDeepSingh 4 года назад +1

    Still can't run GUI Using wsl :(

  • @arsnakehert
    @arsnakehert 4 года назад +1

    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.

    • @christoslytras7912
      @christoslytras7912 4 года назад

      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.

  • @pawelp8567
    @pawelp8567 4 года назад +1

    Does VS Code support WSL out of the box or some special plugins are required to make things work? Can I use other IDE's like Clion?

    • @dadestor
      @dadestor 4 года назад

      it auto installs or recommends (dont remember) the wsl plugin when it detects it's installation

  • @francootaola9172
    @francootaola9172 4 года назад

    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 :/

  • @dndhndn
    @dndhndn 4 года назад

    I have tried Docker Desktop on WSL2 installed machine. I thought it will not create a virtual machine no more, but it still there.

  • @moiarmio4863
    @moiarmio4863 4 года назад

    I am using Version 1909 ( OS Build 18363.900) I believe I am not able to install WSL2? Could you please help me with this?

  • @workaccount7587
    @workaccount7587 3 года назад

    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.

  • @deeppatel2819
    @deeppatel2819 3 года назад

    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

  • @uroskolaric
    @uroskolaric 3 года назад

    Does any body know what is the tool that he used to switched between different shells?

  • @vodoo6665
    @vodoo6665 4 года назад

    What is better WSL Vs Docker Vs VM? Please enlighten me!

  • @AlexAegisOfficial
    @AlexAegisOfficial 4 года назад +2

    12:30 that's the point

  • @typingcat
    @typingcat 4 года назад +1

    All right, WSL2 is up to 6 times faster than WSL. But what if we compare it a real Linux installation on the same machine?

  • @PhanorColl
    @PhanorColl 4 года назад +2

    when will it be released? I want to use it without setting my box to the windows developer program

    • @naikrovek
      @naikrovek 4 года назад +3

      With the first release of Windows this year. April, I think.

    • @PhanorColl
      @PhanorColl 4 года назад +2

      @@naikrovek I cant wait, I've been enjoying coding using WSL, Windows has won me over again.

    • @MattWojo
      @MattWojo 4 года назад +1

      Hard to say for sure... things are crazy over here currently with the COVID-19 outbreak, but should be this year.

    • @dmsnm
      @dmsnm 4 года назад

      They said first half of 2020. So as late as June if not earlier

    • @dimamaharika3361
      @dimamaharika3361 4 года назад +1

      I've been using WSL2 for about a month. But it needs me to join the Windows 10 Insider Program to have the latest Windows Update.

  • @abhishekdanej
    @abhishekdanej 3 года назад

    Great video. Can some wsl2 user comment on how much extra resources CPU, ram and disk are used by wsl2?I don't have wsl now.

  • @jameshagooddesigndevelopme7819
    @jameshagooddesigndevelopme7819 4 года назад

    Do you not have issues with webpack not reloading?

  • @sps014
    @sps014 4 года назад +3

    One day hoping to test Linux GUI apps ...

    • @sps014
      @sps014 4 года назад

      @@timcook8999 lol , i expected too much from Microsoft.

    • @arsnakehert
      @arsnakehert 4 года назад +1

      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

    • @sps014
      @sps014 4 года назад

      @@arsnakehert thanks, will try it out.

    • @betaman2009
      @betaman2009 4 года назад

      Actually you can.

  • @mrdewes
    @mrdewes 4 года назад +2

    Since WSL2 needs Hyper-V, does it run on windows home edition?

    • @marlo3898
      @marlo3898 4 года назад +1

      I don't think so.

    • @SergioBerlinches
      @SergioBerlinches 4 года назад

      It does

    • @rparker061
      @rparker061 4 года назад

      Do you people NOT know how to 'google'? docs.microsoft.com/en-us/windows/wsl/wsl2-install

  • @carlossoriano4010
    @carlossoriano4010 4 года назад

    What version of powershell is that? Mine is blue and doesn't have tabs or that dropdown. Can someone explain how to enable that?

    • @carlossoriano4010
      @carlossoriano4010 4 года назад +1

      for anyone else who is interested, i found it www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab

  • @lusher00
    @lusher00 Месяц назад

    I sure wish I could figure out how to install this without internet. I can only find one set of instructions and they still require internet.

  • @shubhamagarwal97
    @shubhamagarwal97 4 года назад

    What is the terminal you are using? How are you able to get multiple tabs?

    • @al048604
      @al048604 4 года назад

      It's called Windows Terminal ruclips.net/video/7bqoXHiXTHA/видео.html

  • @ICT_Notion
    @ICT_Notion 3 года назад

    can someone help on how to have the 202 build ?
    i tried everything looked everywhere nobody talks abt it

  • @imadelachiri5475
    @imadelachiri5475 4 года назад

    any idea on how to install the wifi driver?

  • @emreis7127
    @emreis7127 4 года назад +1

    Would it be possible now to use virtualbox and docker simultaneously on Windows pro ?

    • @christoslytras7912
      @christoslytras7912 4 года назад +2

      You don't need VirtualBox. You can use HyperV to mount .iso files and create as many VMs you want.

    • @paulstelian97
      @paulstelian97 4 года назад +1

      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.

  • @vishnuthamizharasan6192
    @vishnuthamizharasan6192 4 года назад

    Is WS2 is available for windows 10 home edition

  • @grainfrizz
    @grainfrizz 4 года назад

    Still wondering why WSL1 didn't go straight to VM archi and went with translation/wrapper thingy.

    • @paulstelian97
      @paulstelian97 4 года назад

      There are machines where VM-based WSL cannot work and WSL1 is the only thing remaining.

  • @Terzaghi12
    @Terzaghi12 4 года назад +2

    Ok, but when it's coming for stable releases?

  • @dmytrolev
    @dmytrolev 3 года назад

    tabs vs spaces - both!

  • @ThatSilentGuy
    @ThatSilentGuy 4 года назад

    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.

    • @henninghoefer
      @henninghoefer 4 года назад +1

      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

  • @babakbanijamali5130
    @babakbanijamali5130 4 года назад

    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?

    • @rparker061
      @rparker061 4 года назад

      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.

  • @Arokhantos
    @Arokhantos 4 года назад

    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.

  • @mrwang420
    @mrwang420 4 года назад +2

    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.

  • @zuaipel-ck3694
    @zuaipel-ck3694 3 года назад

    Did wsl work offline

  • @Neto-gs3xw
    @Neto-gs3xw 10 месяцев назад

    Game changer for the best!

  • @elCoronelCC
    @elCoronelCC 4 года назад

    what is the tool that allows to have different shells and select them? It reminds me of cmdr but but it does not seem to be that?

    • @davidwestern3878
      @davidwestern3878 4 года назад

      It's the new Windows Terminal. You can find it in the Windows Store.

  • @grimonce
    @grimonce 4 года назад

    How come MS Developer got a pet and it is a rabbit now?
    Also I am using WSL 2 at work, works great so far. I enjoy the Docker Desktop integration.

  • @jdubeau007
    @jdubeau007 4 года назад

    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.

    • @rparker061
      @rparker061 4 года назад

      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.

  • @habtiephys
    @habtiephys 4 года назад

    Could you test it with installation and launch of Anaconda? I found that it's possible to install but not to launch the anaconda from WSL1.

    • @paulstelian97
      @paulstelian97 4 года назад +1

      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.

    • @habtiephys
      @habtiephys 4 года назад

      @@paulstelian97 thanks, I will give it a try.

  • @nishantkumar3997
    @nishantkumar3997 4 года назад +1

    Hi ,
    Can we access GPU with wsl 2 ???

  • @feryardiant
    @feryardiant 4 года назад +2

    Will WSL2 work on Windows 10 Home?

    • @atanki5682
      @atanki5682 4 года назад

      For now, its not supported by all versions, but after some time, it will most probably be supported by all windows 10 versions

    • @feryardiant
      @feryardiant 4 года назад

      @@atanki5682 Hopefully ^_^

    • @dimamaharika3361
      @dimamaharika3361 4 года назад

      You can try update to Windows 10 Insiders Home to try WSL2 right away.

    • @feryardiant
      @feryardiant 4 года назад

      @@dimamaharika3361 Thanks for suggestion, unfortunately I don't have spare PC to install Insider one, I'd love to wait it's come to stable release of Windows.

    • @dimamaharika3361
      @dimamaharika3361 4 года назад

      @@feryardiant you can update to windows insider without losing your files and apps. Other information is available on microsoft official site. Hope this can help.

  • @rafaelfez
    @rafaelfez 4 года назад

    Wow, thats awesome !

  • @maverickmadison7392
    @maverickmadison7392 4 года назад

    Translation layer VS VM, which one has a higher overhead?

    • @paulstelian97
      @paulstelian97 4 года назад

      With hardware acceleration, VM should have a lower overhead, especially since it's a lightweight VM. You'd see RAM usage get a bit higher though.

  • @jonatasalmeida4196
    @jonatasalmeida4196 2 года назад

    Why use WSL instead coding on Windows? There is any benefits? I tried here using Intellij + Java openjdk on WSL2, but the performance is ugly.

  • @TheMustafa5233
    @TheMustafa5233 4 года назад +1

    Could it work on GPUs directly now?

    • @paulstelian97
      @paulstelian97 4 года назад

      No. PCI passthrough is not supported by Hyper-V. Would have been nice though. Hardware must support GPU passthrough and Hyper-V must be updated to have this.

    • @linuxtardis
      @linuxtardis 4 года назад

      yes: www.phoronix.com/scan.php?page=news_item&px=Microsoft-DX12-WSL2

  • @iamworstgamer
    @iamworstgamer 2 года назад

    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

  • @iAnarchy89
    @iAnarchy89 4 года назад

    what terminal is that?

  • @haylacquan652
    @haylacquan652 4 года назад

    I hope WSL2 will support for win 10 LTSC.

  • @andreujuanc
    @andreujuanc 4 года назад +1

    Didn't know it was build on top of Hypervisor.

    • @ambarmutha8504
      @ambarmutha8504 4 года назад +1

      Does that mean that wsl2 won't be coming to Windows 10 home?

  • @hemachandrang6284
    @hemachandrang6284 4 года назад

    What is the terminal window you are using?

    • @uethyav9755
      @uethyav9755 4 года назад +1

      Windows terminal,you can get it on Microsoft Store

  • @picious
    @picious 4 года назад +1

    can you run virtualbox with docker installed?

    • @JaskoonerSingh
      @JaskoonerSingh 4 года назад

      no

    • @christoslytras7912
      @christoslytras7912 4 года назад +1

      You don't need VirtualBox. Just use HyperV to install custom VMs.

    • @picious
      @picious 4 года назад

      ​@@christoslytras7912 can i mport .ova or .vdi files in hyperV?

    • @paulstelian97
      @paulstelian97 4 года назад

      @@picious Not directly, however there are ways to convert. You can still use Virtualbox's command line utilities. Extract the disk file (vdi/vmdk), use Virtualbox's built in disk converter (it's a command line executable that isn't as exposed to the world, but it is available) to convert the disk image to vhd then create a Hyper-V VM that uses that disk file.

    • @henninghoefer
      @henninghoefer 4 года назад +1

      Yes you can, and it has been possible for over a year now. You need the Windows Hypervisor Platform installed and VirtualBox 6.0 or newer.

  • @calvint3419
    @calvint3419 4 года назад

    Why there is a tabs vs spaces topic?

  • @Oswee
    @Oswee 4 года назад +1

    I would love to have LSW

  • @zen-ventzi-marinov
    @zen-ventzi-marinov 4 года назад +1

    WSL2 performance vs a normal linux install?

    • @lemur7
      @lemur7 4 года назад

      Not as fast (obviously) , but generally performant enough to run many Linux command-line apps without major issues.

    • @Rednunzio
      @Rednunzio 4 года назад

      @@lemur7 can I create a bash script that makes changes on winodws or does it all remain on the Linux side? If I have to make changes to file permissions on windows, for example, can I launch a chmod from wsl or not?

    • @lemur7
      @lemur7 4 года назад

      ​@@Rednunzio You can create a bash script on your C: drive and run it with WSL.

    • @rparker061
      @rparker061 4 года назад

      performance is dictated by GUI. Linux has no GUI, so everything is very fast. VM performance is usually around 90 to 95% native speed, so it's very, very close.. only time you would notice is heavy I/O or multitasking with heavy CPU. Even then it depends on hardware. Laptops these days have the same power as Enterprise Server (up to about 8 core), so in reality you have a portable server. Suffice to say for purposes of comparison you will not notice the difference.

  •  4 года назад

    Is this better than dual boot systems?

  • @b0nzai1
    @b0nzai1 4 года назад

    Now I want know ho he managed to enable tmux mouse support in windows terminal ...

    • @ambarmutha8504
      @ambarmutha8504 4 года назад +3

      Was it tmux? Windows terminal does have its own split panes feature.