C++ can be safe. Just use only safe pointers and vectors.
The thing is that rust does two things:
1. Safety
2. FP style code ("magic")
I wouldn't mind #1, but #2 kind of turns me off.
The thing is that rust does two things:
1. Safety
2. FP style code ("magic")
I wouldn't mind #1, but #2 kind of turns me off.
Defaults matter. In C++ safety is opt-in, you have to explicitly chose safety, the default is unsafe code. Rust is opposite, safety is opt-out, you have to explicitly use 'unsafe' functions to write unsafe code. Take a guess which strategy makes junior developers write better code.
An org can mandate use of only safe pointers.
However that is a personal option, I seldom have seen such options in enterprise code.