Hacker News new | past | comments | ask | show | jobs | submit login

> IMHO the fact that the spec is so complex that it is near impossible to implement it correctly should be a big hint, yet people seem very eager to continually stuff more features into the language, which can interact with all the other features in complex ways.

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.




> 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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: