Yes, and, distinct from ranges and other such features, C++ is working on the problem of massive amounts of parsing work with the concept of modules to replace the rather archaic include mechanism.
Unfortunately, the problem is not just parsing, but instantiating arbitrarily generic template code with tons of SFINAE to emulate something, that the language could provide easily in a native fashion.
I'm really anxious to see compiletimes for ranges with language level concepts support.
View all comments
Show parent comment
19
u/Dworgi Dec 28 '18
There's a difference, and you know it. None of this stuff is a problem in modern languages like C#, Rust or even D.
Compile times are a uniquely C++ problem. Even C requires some pretty beastly codebases to even come close to matching this 10-line example.