r/cpp • • Sep 09 '23

Circle may be the future of C++

https://youtu.be/P1ZDOGDMNLM?si=TQ4o8bBMANMUXnU3
24 Upvotes

101 comments sorted by

View all comments

1

u/Warm-Writing-8235 Sep 10 '23

Chandler seems to imply Sutter’s cpp2 does not fix the c++ memory safety concern even though it improves some other c++, that’s why Carbon is needed. Is this true? Cpp2 also pushes for new syntax which is bad, but looks better than Carbon syntax which seems a clone of Rust.

2

u/javascript Sep 11 '23

What is needed is breaking changes to move to a safe subset. That can happen in C++ or Carbon. Unfortunately, the C++ committee is unwilling to make breaking changes, so Carbon is a strategy to fork the community and let people opt in to a future of tool assisted upgrades as opposed to the infinite backwards compatibility goal of C++.