|
|
|
|
|
by pjmlp
216 days ago
|
|
The difference is that with Rust one can prevent unsafe in the compiler build settings. Or any language with unsafe code blocks, which people keep forgetting also exist, while complaining about Rust, as if there isn't any other memory safe language. With C++ you need external tooling to disable C like code, that a large part of the community refuses to adopt. |
|
> as if there isn't any other memory safe language.
But Rust is obviously not a memory safe programming language. Unsafe's prevalence and difficulty, no_std, and arguably also the bugs and holes in the type system of Rust that have not been fixed for many years by now, make this clear.