Re:2 years of fiddling with Rust – critical thoughts
by boundchecked on Monday November 07, 2022 @02:25AM
(#33502328)
If you count optimizing your ill-formed function into an inlined panic [1] as "bug eliminated at compile-time", then it may be true!
Claim: Rust enables you to eliminate many classes of bugs at compile-time. (https://www.rust-lang.org, "Why Rust?", "Reliability")
Reality: Rust enables you to eliminate an extremely limited class of bugs at compile time, and also inserts if statements into your program to detect some other classes of bugs at runtime and crash cleanly.