(no title)
laxis96 | 3 years ago
Docker in WSL2? Yeah sure, but I'd rather install a VM or connect to a remote Docker host.
MinGW/MSYS2 have been around far longer and have none of those issues... Then again, MSYS2 does not have a Linux kernel running under it but that shouldn't be a problem unless you want to run containers.
spiffytech|3 years ago
djfobbz|3 years ago
jefftime|3 years ago
veesahni|3 years ago
Cross OS filesystem performance is poor. The solution is to keep everything within WSL. Code stored, built & edited in WSL.
VSCode + WSL extension makes it possible to "edit" from host without loosing performance.
coldacid|3 years ago
No you didn't, you just let Windows hide them from you. WSL2 is essentially a Hyper-V VM running Linux with some programs bridging between it and the Windows host -- or two such VMs with some additional bridging (for Wayland and audio) if WSLg is enabled.
CoolCold|3 years ago
Longhanks|3 years ago
In all seriousness though, is there a reason ripgrep doesn’t suffice?
sz4kerto|3 years ago
WSL is a proper VM, just managed very efficiently by Hyper-V.
> the filesystem has its (performance) limitations
It's a normal Linux filesystem, there's no difference in performance vs. a full-fledged Linux VM. (which it is anyway)
Are you referring to WSL1?
pxc|3 years ago
> It's a normal Linux filesystem, there's no difference in performance vs. a full-fledged Linux VM. (which it is anyway)
> Are you referring to WSL1?
WSL2 just exchanged the performance problems with the Linux guest environment's native filesystem for performance problems when the Linux guest accesses Windows' filesystem. Those are still there and they're still atrocious.
cowmix|3 years ago
matsemann|3 years ago
So I kinda disagree, for all things you mention I prefer WSL.
ziomek77|3 years ago
mfer|3 years ago
rr888|3 years ago
skrowl|3 years ago
I don't EVER find that I need some kind of *nix command on my local machine when developing, but that's also because I'm not afraid of PowerShell / stuck on bash.
pram|3 years ago
atseajournal|3 years ago
pxc|3 years ago
w4rh4wk5|3 years ago
Latest issue I encountered was that GNU parallel simple does not work. [1]
[1]: https://github.com/msys2/MSYS2-packages/issues/3289
anderspitman|3 years ago
pxc|3 years ago
moondev|3 years ago
https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-dis...
polyvisual|3 years ago
layer8|3 years ago
skrowl|3 years ago
Get-Content -Path Filepath -Tail <int>
rr888|3 years ago
jxdxbx|3 years ago
nailer|3 years ago
You just did.