winterlights·قبل 8 أشهر·discussEfficiently implementing a doubly linked list in C or C++ is easy. In Rust, less so.[0]And the prevalence and difficulty of unsafe means both that Rust is not memory safe [1], and that Rust sometimes is less memory safe than C or C++.[0]: https://rust-unofficial.github.io/too-many-lists/[1]: For an example of memory unsafety in Rust: https://materialize.com/blog/rust-concurrency-bug-unbounded-...
winterlights·قبل 8 أشهر·discussSimilar to how Rust clearly is not memory safe, Go is also not memory safe.
winterlights·قبل 8 أشهر·discussThe whole discussion sucks, because Rust is not memory safe, and can easily be worse than C and C++ regarding memory safety. Memory unsafety is entirely possible in Rust[0].[0]: https://materialize.com/blog/rust-concurrency-bug-unbounded-...
And the prevalence and difficulty of unsafe means both that Rust is not memory safe [1], and that Rust sometimes is less memory safe than C or C++.
[0]: https://rust-unofficial.github.io/too-many-lists/
[1]: For an example of memory unsafety in Rust: https://materialize.com/blog/rust-concurrency-bug-unbounded-...