Remix.run Logo
▲ chris_money202 an hour ago

Did you work out of /mnt/c?

▲jesse_dot_id 35 minutes ago | parent | next [-]

My problems weren't performance related, aside from the occasional catastrophic memory leak; most of my biggest headaches were related to networking.

▲ninkendo 12 minutes ago | parent | next [-]

They finally fixed the networking thing a while back.

In current WSL2, Windows owns the IP address, the NIC, DHCP, ARP, etc, and it’s shared with the Linux VM.

It’s really kinda magic… Linux sees the same IP address as windows does, and you actually get address-in-use errors if Linux tries to listen on a port Windows is already listening on, and vice-versa. So there’s no NAT going on or any internal 172.x net within the Linux VM, you just run “ip addr show” and you see the same real IP addresses that “ipconfig” shows you in windows.

(I no longer have a windows installation but WSL2 got noticeably better with networking some time before I gave up on windows.)

▲jesse_dot_id 28 minutes ago | parent | prev [-]

Also no, I didn't.

▲DiabloD3 an hour ago | parent | prev [-]

I suspect they did. 100% of cases where people complain WSL2 was slow and I helped debug was this specific incorrect usage.