News for hackers. Stuff that matters.
Re:Cloudflare outage on November 18, 2025 post mortem by kibwen on Tuesday November 18, 2025 @09:42PM (#45975270)
> Not familiar with Rust but it seems unwrap is such a thing that would be banned.

Panics aren't exceptions, any "panic" in Rust can be thought of as an abort of the process (Rust binaries have the explicit option to implement panics as aborts). Companies like Dropbox do exactly this in their similar Rust-based systems, so it wouldn't surprise me if Cloudflare does the same.

"Banning exceptions" wouldn't have done anything here, what you're looking for is "banning partial functions" (in the Haskell sense).

Re:Cloudflare outage on November 18, 2025 post mortem by cvhc on Tuesday November 18, 2025 @11:06PM (#45975747)
Yeah I know but isn't unwrap basically a trivial way to: (1) give up catching the exception/error (the E part in `Result<T, E>`) that the callee throws; and also (2) escalate it to the point that nothing can catch it. It has such a benign name.