News for hackers. Stuff that matters.
Re:C++17 and its Technical Specifications by jokoon on Friday March 04, 2016 @03:58AM (#11222735)
Other question: do you think that writing a compiler that only work with C++14 or 17, might compile code faster ? Or will C++ always be slow to compile ?

I'm still wondering what makes go so fast to compile.

Re:C++17 and its Technical Specifications by looki on Friday March 04, 2016 @04:17AM (#11222782)
Not currently. I think it can be largely attributed to header files, for which we currently have no solution in modern C++. Think about what your code would look like if you expanded all #includes of a single file, each containing entire class definitions that need to be parsed.

One of the proposals for the next C++ standard is for modules, which would allow better symbol importing and would largely boost compilation speeds, among other benefits.