News for hackers. Stuff that matters.
Re:The Rust compiler isn't slow; we are by usefulcat on Wednesday June 17, 2020 @09:34AM (#23551169)
It seems to depend a lot on the particular compiler. I know that in the past, precompiled headers made a huge difference with MSVC (and maybe they still do, but I haven't used it in some years at this point).

Today, I have a medium-sized c++ project that uses Linux, gcc 9.2 and boost and I have yet to find any combination of headers that I can put in the precompiled header file and see any reduction in compile times, either for a full build or an incremental build.

Re:The Rust compiler isn't slow; we are by quietbritishjim on Wednesday June 17, 2020 @05:47PM (#23557177)
Hmm, that is interesting... You're absolutely right, the program I was compiling is a Visual Studio program. (The code is actually cross-platform, partly thanks to the use of Boost, but for historical reasons it only has a Windows build system in the form of Visual Studio projects.) I'd definitely like to try my experiment again with GCC or clang at some point.