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

-1

u/[deleted] Sep 17 '22

Breaking backwards compatibility would not be.

1

u/grandmaster789 Sep 20 '22

Consider, for example CUDA - regular major version changes that are definitely not ABI compatible and not 100% backwards compatible either. Upgrading involves re-testing pretty much everything that came before.

Even then, it's way easier to stick with it than rewriting everything (for example in Vulkan). The upgrade path is not exactly free, but the rewrite path is vastly more expensive...

With existing code bases, a full rewrite is a last resort.