News for hackers. Stuff that matters.
Re:The Adoption of Rust in Business by zozbot234 on Tuesday February 07, 2023 @11:43AM (#34695053)
> copying around reference objects (including iterators) but convincing myself through rigorous testing that none of them ever dangle despite the somewhat unrelated lifetimes

The underlying issue with this kind of informal assurance is that it may become incorrect in a large-scale project as it evolves. This is why "unsafe" in Rust is best used locally, as part of something that provides a safe interface to the rest of the code.

There are no comments on this comment yet.