News for hackers. Stuff that matters.
Re:Online LLVM-based C++ REPL by roel_v on Friday August 19, 2016 @02:59PM (#12322575)
Yes, C++ takes long to compile compared to other languages. But I never understood the problems people have with precompiled headers. They've worked just fine, without any tweaking or babysetting, for me since Visual Studio 6. That's 15+ years. I don't know how/if the implementations of gcc or clang work, but using the msvc compiler precompiled headers are braindead simple.
Re:Online LLVM-based C++ REPL by jcelerier on Friday August 19, 2016 @03:56PM (#12323006)
they work just fine with GCC & Clang, too. If you use CMake, I recommend the cotire library : it's one line to add to get PCH on all platforms.