3 ms·
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 we
by satvikpendem 8mo ago
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 https://www.reddit.com/r/rust/s/CsEy9bLivK
- fluoridation 8mo agoThat 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).
- michaelcampbell 8mo agoAt 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.
- zer0zzz 8mo agoWSL is the best way to avoid all the Windows slowness as far as the VFS and the forking overhead.
- endymion-light 8mo agoWSL 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.
- natpalmer1776 8mo agoThis 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.
- satvikpendem 8mo agoGaming, especially multiplayer
- natpalmer1776 8mo agoCrossOver 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.
- satvikpendem 8mo agoCrossOver is alright but not always enough in terms of performance for many games compared to a Windows machine, especially one with a dedicated GPU.