Remix.run Logo
djfobbz 4 days ago

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)
lfx 4 days ago | parent [-]

Why you prefer WSL1 over WSL2?

tracker1 4 days ago | parent | next [-]

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.

djfobbz 4 days ago | parent | prev [-]

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