News for hackers. Stuff that matters.
Re:Four limitations of Rust's borrow checker by oconnor663 on Tuesday December 24, 2024 @02:22PM (#42504214)
Yeah if you go with Vec, you have to accept that you can't delete anything until you're done with the whole collection. A lot of programs (including basically anything that isn't long running) can accept that. The rest need to use SlotMap or similar, which is an easy transition that you can make as needed.

There are no comments on this comment yet.