News for hackers. Stuff that matters.
Re:Performance of Rust Language [pdf] by simonask on Tuesday May 26, 2026 @07:39PM (#48287494)
I mean, sure, dead code elimination applies to all optimized code. The important thing to understand is that panicking in Rust does not get magic treatment by the Rust compiler. It’s just a function that is declared in the type system to never return.

There are no comments on this comment yet.