C/C++ isn't the issue, it's the lack of not using memory-safe features like smart pointers which you'll need C++ for.
This makes no sense. It just sounds like Go.
In the real world, smart pointers help a lot and are a great idea but they don't fully solve the problem in the same way that Rust or memory safe languages do.