News for hackers. Stuff that matters.
Re:Four Years of Rust by pjmlp on Thursday May 16, 2019 @02:40AM (#19926710)
> D's destructors are not deterministic, IIRC.

Yes they are, they get called at the end of scope.

> Valid points, but these are rare problems in idiomatic Rust.

Being rare doesn't mean they aren't there, and anyone trying to write UI related code will deal with them on regular basis.

Re:Four Years of Rust by dpc_pw on Friday May 17, 2019 @05:47PM (#19943870)
https://forum.dlang.org/thread/[email protected]...

Can you clarify, what am I misunderstanding here? In couple of places online I've found that you can't depend on dtor being called.