News for hackers. Stuff that matters.
Re:Rust 1.1 Stable, the Community Subteam, and RustCamp by Gankro on Friday June 26, 2015 @02:49AM (#9782795)
All destructors in Rust are also decided at runtime, fwiw. Even without any allocation or anything:

    let foo = Moves::new(); 
    if condition { mem::drop(foo) }
    // should foo be dropped here?
In practice many destructors can probably be scheduled statically at compile time.
Re:Rust 1.1 Stable, the Community Subteam, and RustCamp by Manishearth on Friday June 26, 2015 @03:15AM (#9782845)
Dynamic drop is something that will go away for all but the strange deferred-let case (It's not a language restriction). So that's okay.