News for hackers. Stuff that matters.
Re:How safe is Zig? by verdagon on Thursday June 23, 2022 @09:08PM (#31856860)
You should never use Vec in that situation, but we see it all the time. People love indexing into Vecs and reusing elements.

One of my favorite alternatives is generational_arena [0] which also happens to be the library that inspired Vale's generational references!

[0] https://docs.rs/generational-arena/latest/generational_arena...

There are no comments on this comment yet.