Hacker News new | ask | show | jobs
by your_challenger 390 days ago
WSL is a landmine of bad design. I lost all my data once, and that incident made me switch to a Mac.

Here's how you can lose all your data - and Microsoft engineers won’t care: https://github.com/microsoft/WSL/issues/8992 https://github.com/microsoft/WSL/issues/9830 https://github.com/microsoft/WSL/issues/9049#issuecomment-26...

3 comments

I read your issue, and it's not so different from `sudo rm -rf /` as opposed to an actual design flaw.
`sudo rm -rf /` requires you to be a superuser or provide a password, whereas running `wsl --unregister` does not require elevated privileges.
I've hit real data loss bugs in WSL, as well— files disappearing, sometimes even rendering the WSL guest unbootable.
Mac IS the Sotate of the Art at the developer experience. The only annoyance was the virtualisation on Arm but having UTM/Multipass/Virttualbox now, it is the best. If you are up to too many containers, a linux box would be more preferable.