News for hackers. Stuff that matters.
Re:Speeding Up the Rust Compiler by cesarb on Wednesday December 11, 2019 @08:37AM (#21762170)
> IIUC, panicking via unwrap() or expect() IS graceful error handling. It unwinds the stack and releases resources.

AFAIK, only with the default panic=unwind mode. With the panic=abort mode, it aborts the whole process instead of unwinding.

Re:Speeding Up the Rust Compiler by jashmatthews on Wednesday December 11, 2019 @09:37AM (#21762709)
panic=abort is only intended for embedded stuff, I think.
Re:Speeding Up the Rust Compiler by steveklabnik on Wednesday December 11, 2019 @10:17AM (#21763140)
Nope, it's intended whenever you want this semantic, and do not want to pay for landing pads. Embedded is a common case where this is true, but it's not exclusively for that.