Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really like Bun too, but I had a hard time getting it to play nicely with WSL1 on Windows 10 (which I prefer over WSL2). For example:

  ~/: bun install
  error: An unknown error occurred (Unexpected)


Why you prefer WSL1 over WSL2?


FS calls across the OS boundary are significantly faster in WSL1, as the biggest example from the top of my head. I prefer WSL2 myself, but I avoid using the /mnt/c/ paths as much as possible, and never, ever run a database (like sqlite) across that boundary, you will regret it.


WSL1's just faster, no weird networking issues, and I can edit the Linux files from both Windows and Linux without headaches.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: