r/cpp 8d ago

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/

64 Upvotes

112 comments sorted by

View all comments

Show parent comments

1

u/13steinj 3d ago

Not not writing bugs. Writing C-style code in C++.

You can enforce this with decent CI practices and generally static analysis. To the people who refuse to set it up, I've stopped caring.

1

u/jwakely libstdc++ tamer, LWG chair 3d ago

"Just don't write bad/non-idiomatic/un-modern code" is equivalent to "Just don't write bugs".

1

u/13steinj 2d ago

That's a false dichotomy. Yeah, you might write non-idiomatic/un-modern code. You catch it in CI using (sometimes custom) clang-tidy checks.

If your organization can't get developer buy in for this, that is on them, IMO.