In fact some languages are even safer (e.g. Scheme and various Lisp implementations don't have integer overflows due to having bignums by default).
In fact some languages are even safer (e.g. Scheme and various Lisp implementations don't have integer overflows due to having bignums by default).
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.