News for hackers. Stuff that matters.
Re:Rust and the Future of Systems Programming [video] by naasking on Wednesday November 16, 2016 @05:00PM (#12971979)
But this expectation is transitive. If you have an array of file handles, if you defer deallocating some of them but destruct them all upfront, you still have the latency issue we've been discussing. And if you defer destructing too, then you still have non-deterministic destruction and deallocation. I'm not sure there's a way around this tradeoff.
Re:Rust and the Future of Systems Programming [video] by Manishearth on Wednesday November 16, 2016 @05:17PM (#12972109)
Right, I already mentioned this a couple of comments ago.

You can use various arena-like structures where you explicitly forgo the guarantee of deterministic drop for this.