Hacker News new | ask | show | jobs
by jokoon 1204 days ago
I really like what Herb Sutter is doing with cpp2/cppfront: it's a new language that translates to C++, by defaulting to C++ good practices and "avoiding 95% of C++ pitfalls". Please watch its presentation on it. It's designed to interact with C++.

Backward compatibility is good to have, but C++ needs for alternatives that allow it to drop support for old things, because the language needs to evolve and backward compatibility is preventing it, and it turns into very very long compile time.

And even if backward compatibility is out in C++, it would break in the language, not in the ABI, so old C++ and new C++ could still easily cohabit together, quite like C has always lived with C++ for a long time now.

I like C++, but nobody denies that C++ carries a lot of weight for being disliked.

2 comments

Have a look at Circle from Sean Baxter [0]. It's pretty impressive.

[0]: https://github.com/seanbaxter/circle/blob/master/new-circle/...

yes