I guess I'm using "memory safety" very broadly and not literally, which I admit is not good.
But, the borrow-checker seems to be significantly safer than anything else I've read about. Having no null pointer sounds very smart...
But, the borrow-checker seems to be significantly safer than anything else I've read about. Having no null pointer sounds very smart...
All those other languages cannot. Rust is much less safe than a GC language in terms of memory.
We're using very different definitions of those words, I guess.
https://slashdot.org/story/07/11/17/0552247/c-memory-leak-to...
Keep in mind by turning off the GC, how have now made C# just as safe as rust, not unsafer.
Way easier in C# to avoid that issue. Just don’t use reference counters and use GC.
No way to avoid that in Rust. If you need many references, you must use ARC.