Carbon is not a subset of C++, it will have a memory safe subset of itself, like Rust does.
That said, Carbon’s definition of memory safety does not include data race safety, and so will not have a borrow checker.
That said, Carbon’s definition of memory safety does not include data race safety, and so will not have a borrow checker.
>Best candidate for C++ is likely similar to Rust’s borrow checker
It is stated clearly in the talk that this is true for Carbon as well
[0] https://chandlerc.blog/slides/2023-cppnow-carbon-strategy/in...
[1] relevant timestamps:
I will have to re-watch it, thank you.