Re:C++17 Compiler Bug Hunt
by steveklabnik on Friday April 06, 2018 @03:29PM
(#16776584)
> Rust which has an even more complex compiler.
What metric are you using for this? I would expect it to be simpler, mostly due to a lack of needing to support so many things. Totally willing to be wrong though.
Speculation, granted, but the borrow checker is non-trivial compiler complexity, along with more smarts generally shoved into the compiler like type inferencing and the macro system.
Re:C++17 Compiler Bug Hunt
by steveklabnik on Friday April 06, 2018 @04:48PM
(#16777276)
Ah, cool, that's understandable. It goes both ways; C++ has a lot of complexity that Rust doesn't have too.
I wonder if there'd be a way to actually do a real comparison.
A "big hint" for what? There's not many viable alternatives to C++, and the major contestant at the moment is Rust which has an even more complex compiler. Otherwise all the simpler languages make major compromises to achieve that simplicity, compromises that are unacceptable in more than a few circumstances.