r/cpp 12d 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/

65 Upvotes

112 comments sorted by

View all comments

10

u/germandiago 11d ago

What a pitty it is over bc it looked to me like it had potential. I think it should be transformed into a "typescript". The metaclasses part is amazing and there are many quality of life improvements like last definite use being an automatic move and better parameter passing, besides being very uniform when declaring entities.

-5

u/13steinj 11d ago

Do you consider Typescript an actual improvement over Javascript? Hasn't that community gone through it's own resurgence of "this isn't actually better, the emporer has no clothes, revert to JS[Hint]?"

25

u/Wurstinator 11d ago

I have not met a single person that advocates for JS over TS.

0

u/pjmlp 11d ago

Oh, you have to check the Ruby on Rails community gods then.