Hacker News new | ask | show | jobs
by tialaramex 813 days ago
> Cpp2 isn't trying to be a successor language to C++

Herb is trying to sell it as not a successor because for now that suits him better.

Because C++ is a general purpose language Herb can deliver a "not a new feature" that is so elaborate in practice you would never write the equivalent C++ by hand, but Herb can insist that since technically it can still be transpiled to C++ it's not a different language... right up until that ceases to suit his agenda.

Under this model WUFFS (a higher performance yet entirely safe language for writing stuff like codecs and compression algorithms) doesn't "introduce any new functionality" compared to C, since the present WUFFS-the-language is transpiled into C. But I think C programmers would be astonished to hear that C is now apparently higher performance than C and is able to guarantee it's entirely safe...

2 comments

The linked article explicitly states

> What it isn't. Cpp2 is not a successor or alternate language [...]

That's correct, Herb Sutter does indeed claim that his C++ Successor Language isn't a C++ Successor Language, as I stated.
Mostly because it would look odd if the WG21 chair, would also sell his language as a C++ successor language, lets not fool ourselves it is something else.