4 ms·
Visual studio is a pretty nice development environment. However, when compiling c++ software it routinely takes much longer than compiling with make on Linux on
by tkuraku 5y ago
Visual studio is a pretty nice development environment. However, when compiling c++ software it routinely takes much longer than compiling with make on Linux on the same hardware (dual boot). Close to 10x longer! This is with cross-platform cmake projects. Anyone else experience this?
- johnnyapol 5y agoAre you running an antimalware program with real-time scanning enabled on Windows? I've found that typically causes a lot of the slowdowns on builds if you don't have your worktree excluded from it. Linux still ends up faster for me even without the anti-malware on Windows but its not as dramatic.
- grammarnazzzi 5y agoJust speculation here, but I suspect the time to compile has little to do with the complier, but rather the way Visual Studio is architeched. There are layers-on-layers of half-assed fuctionality build on top of everything in VS. While you might want to just compile a release version your program, Microsoft has other priorities. Initialize profilers, networking subsystems, debugging support, check the internet for whatever-the-fuck, check drivespace on drives you're not using, see if bill gates' dead grandma's cookies have been delivered...
- stinos 5y agoJust speculation here Exactly, and not really correct. Building on the commandline, no VS used at all, still has the same problem. It's really just the compilation istelf which is the main factor.
- jcelerier 5y agoYes, I have the same experience. Using the same version of clang to build the same software on the same computer / same SSD than Linux is muuuuch slower on Windows - win32 is just incredibly slow and has not kept up with the times, especially for filesystems and scheduling