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

Rust literally compiles ~4x faster on WSL than on the Windows command line, on the same hardware, so try that and see. Also set up the mold or wild linker as well as sccache, although sccache is OS agnostic so you can use it on macOS too. Make sure your code is on the WSL side not on /mnt/c which is the Windows side though, that will kill compilation speed.

https://www.reddit.com/r/rust/s/CsEy9bLivK



That has not been my experience at all; I get pretty much the same times on the same machine on Linux and Windows. Something weird has happening to that person. Someone mentioned Defender, and that could certainly be it, as I have it totally disabled (forcibly, by deleting the executable).


This is why I stopped using Windows.

You shouldn't have to go through all these extra steps just to squeeze out the same performance you would get by just installing [Other OS].

At some point I realized I was spending hours at a time trying to 'fix' Windows and decided to give Mac a try right around the time that Apple Silicon came out. It was a night and day difference.


Gaming, especially multiplayer


CrossOver lets me play most single player games just fine on my M4 Pro, and personally I found multiplayer gaming taking too much of my time and emotional energy anyway.


CrossOver is alright but not always enough in terms of performance for many games compared to a Windows machine, especially one with a dedicated GPU.


WSL is fantastic - apart from the fact that you need to clear it intermittently via disk compression. I use it for work and it's great until you get something incredibly frustrating, like needing a pass-through for your hardware.

The one thing I can say with my macbook as someone who's switched from a decade of windows, is that stuff tends to just work, minus window swithcing.


At least 10 years ago, some IBM tools I was forced to use worked faster in a linux VM on Windows (through VirtualBox) than on Windows.


WSL is the best way to avoid all the Windows slowness as far as the VFS and the forking overhead.




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

Search: