Live data from Hacker News

Switching to WSL2 with Fedora over plain Fedora install for development?

news.ycombinator.com

21–26 of 26 posts

Re: Switching to WSL2 with Fedora over plain Fedora install for development?

#21
post #11

I have shifted from dual booting to fully windows + wsl (Ubuntu). The new GPU passthrough and GUI app support in Win 11 WSL is particularly useful as you can run full fledged dev tools like Intellij natively in Linux vs the WSL Remote trick VSCode uses while still having all the device driver polish and hardware/software compatibility of Windows.

So I'm guessing on W10 w/o GPU acceleration, using WSL/WSL2 with GUI apps is pretty terrible? I'd mostly just be using my GUI for running programs I'm actually writing, so I'm wondering how much of a problem this would be for me.

Re: Switching to WSL2 with Fedora over plain Fedora install for development?

#22
post #11

I have shifted from dual booting to fully windows + wsl (Ubuntu). The new GPU passthrough and GUI app support in Win 11 WSL is particularly useful as you can run full fledged dev tools like Intellij natively in Linux vs the WSL Remote trick VSCode uses while still having all the device driver polish and hardware/software compatibility of Windows.

So I'm guessing on W10 w/o GPU acceleration, using WSL/WSL2 with GUI apps is pretty terrible? I'd mostly just be using my GUI for running programs I'm actually writing, so I'm wondering how much of a problem this would be for me.

Virtually every meaningful laptop in the last 4-5 years has had an integrated GPU, even if it's a basic Intel one - even though my personal laptop model is 4-5 years old with such a GPU, I'm also able to run Intellij on WSL2 on it very comfortably. I do have 32 gigs of RAM though.

Re: Switching to WSL2 with Fedora over plain Fedora install for development?

#23
post #13
post #7

Earlier quoted context omitted.

These are my solutions also, I do have a working Fedora in WSL2 (using the manual method of installation), but I still keep using the VMware Workstation. At this point, although the GUI is running, I'm only using it as a "remote ssh" from my VSCode and everything works like a charm. Certainly WSL2 integration has some benefits, but I'm not really using any of them at this point. My Windows terminal sshs to the Linux…

> (using the manual method of installation) Never bothered to look for that. Can you link to it?

I have used this, it works.

https://dev.to/bowmanjd/install-fedora-on-windows-subsystem-...

Re: Switching to WSL2 with Fedora over plain Fedora install for development?

#24
post #2

I think there is a Fedora install available on the Microsoft store, but it is paid for and I’m not sure the proceeds will go to the Fedora maintainers. I don’t like WSL much. It feels like a second class environment, where the Linux filesystem is accessible via a network share. In any case, it works. Windows Terminal is good enough, but I find Windows a hopelessly confusing OS with lots of places where it seems unfin…

On work computer, I use qemu to run arch & sid qcow2 vms, with whpx acceleration you get near native performance For networking You can use open vpn tap and a bridge to access guest from host This is obviously not ideal if you don’t have 8gb ram and don’t want linux gui With a wm like dwm and firefox running qemu takes up about 1.5gb ram

Re: Switching to WSL2 with Fedora over plain Fedora install for development?

#25
On work computer, I use qemu to run arch & sid qcow2 vms, with whpx acceleration you get near native performance For networking You can use open vpn tap and a bridge to access guest from host This is obviously not ideal if you don’t have 8gb ram and don’t want linux gui With a wm like dwm and firefox running qemu takes up about 1.5gb ram
Post reply on HN