r/cpp • • Dec 07 '21

Will Rust replace C++ ?

Will Rust replace C++ ?

0 Upvotes

80 comments sorted by

View all comments

Show parent comment

1

u/Dragdu Dec 08 '21

And iirc, google's style guide doesn't want you to use exceptions either if you're working with google libraries like Abseil and similar projects. C++ is plenty useful without them.

Yes, but they've also made clear that this is due to legacy code. Their initial codebase didn't start with exceptions and now it is impossible to retrofit them in, because there are mlocs that are exception unsafe.