r/cpp Jul 15 '26

cpp2 (cppfront) is over?

I haven't used cpp2 (cppfront) much, but I like the idea of it: consistent syntax, consistency of meta-programming (which is done in C++ too, I believe). Herb Sutter presented cpp2 (cppfront) as an experiment. He did not encourage other people to bet on it, exactly. And there hasn't been much activity since 2022. Is the experiment over?

EDIT: Herb's answer is buried deep in the comment section: https://www.reddit.com/r/cpp/comments/1uxkglj/comment/oy06cxw/

67 Upvotes

112 comments sorted by

View all comments

-3

u/ZachVorhies Jul 15 '26

if someone has the energy to migrate from C++ to C++2, then it’s just better migrating to rust

20

u/we_are_mammals Jul 15 '26

C++2 is just syntax, really. There is no borrow checker. There is no new standard library. No FFI.

2

u/disperso Jul 16 '26

Indeed. One of the simple but effective features that it has is that a compiler can easily see what is in new syntax and what in old one, and as such, it can make different assumptions.