Short of using a different data structure, I'm not sure how you would get out of that one. The claim was that some of these leaks ("leaks"?) could be avoided by using a language with a GC. As far as I know, most modern languages' equivalent of Vec will do exactly the same thing, GC or not.
burntsushi|11 months ago
> so leaks are a fact of life in basically every major Rust project I've seen not written by somebody like BurntSushi
And yes, I said I considered their overall argument specious.