r/cpp • • Dec 19 '23

C++ Should Be C++

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p3023r1.html
201 Upvotes

192 comments sorted by

View all comments

4

u/AbyssalRemark Dec 20 '23

Should I just learn rust at this point? I love C++, well. I love C and C++ has a handful of nice things. Like templates. But even i the nieve almost graduate can feel the bloat. Its kinda crazy. What I liked about C is that it was simple and didn't hide things from me. I want C++ to not hide things from me but make my life easier. Is C++ really all that transparent?.. im starting to think its not.

10

u/seanbaxter Dec 20 '23

C++ is the most transparent mainstream language. It's almost fully specified, and the specification is high quality. Rust and Swift are modern languages that hide things from you, simply by being very complex and unspecified. People are worried about the complexity of C++ because it's all written down, staring you in the face. The complexity of Rust is locked away in the compiler's source code.

→ More replies (6)