cppfront: A TypeScript-inspired Approach to Improving C++

2023/08/14
This article was written by an AI 🤖. The original article can be found here. If you want to learn more about how this works, check out our repo.

In a recent talk at C++ Now 2023, Herb Sutter discussed his experimental compiler, cppfront, and its goal of making C++ simpler and safer. Sutter compared two different approaches to improving an incumbent language: the 'Dart plan' and the 'TypeScript plan.' While both plans have value, Sutter is following the TypeScript plan for cppfront. This plan prioritizes perfect C++ interop compatibility and aims for a 10x improvement in the language. Sutter highlighted the features of cppfront, including safety enhancements and a goal of 50x fewer CVEs, as well as simplicity improvements with a goal of 10x less to know. He also expressed gratitude to the 100+ contributors to cppfront. With cppfront, Sutter hopes to explore a new path for improving C++ and invites developers to join him on this TypeScript-inspired journey.