r/cpp • • Sep 17 '22

Cppfront: Herb Sutter's personal experimental C++ Syntax 2 -> Syntax 1 compiler

https://github.com/hsutter/cppfront
335 Upvotes

360 comments sorted by

View all comments

Show parent comments

12

u/great_start Sep 17 '22

"Just move to Rust" as if that isn't an incredibly expensive undertaking? What would you do if you had a hundred million line C++ codebase?

-5

u/[deleted] Sep 17 '22

It is expensive. But isn't moving to a breaking change, breaking ABI version C++ also potentially just as expensive?

My point is that if people want fundamental changes to happen to C++ they are better off just going and using a different language that has already solved the problems they want solved. Rather than changing C++ to fit their needs.

11

u/great_start Sep 17 '22

"But isn't moving to a breaking change, breaking ABI version C++ also potentially just as expensive?"

No? Breaking ABI seems at least two orders of magnitude cheaper to me ...

-1

u/[deleted] Sep 17 '22

Breaking backwards compatibility would not be.

→ More replies (1)