2 ms·
I find it amusing and sad that the Rust ecosystem, via this "panics as abort" feature, replicated one of the worst parts of the C++ ecosystem: -fno-exceptions,
by quotemstr 9y ago
I find it amusing and sad that the Rust ecosystem, via this "panics as abort" feature, replicated one of the worst parts of the C++ ecosystem: -fno-exceptions, which, in C++, turns throws into aborts.
In both language environments, the availability of a compiler option that breaks a language feature doesn't erase the existence of that language feature.
- steveklabnik 9y agoIt doesn’t break the feature, that’s how the feature is designed. They’re not for error handling. It’s only broken if you try to treat them as something other than what they’re designed for.
- chi3 9y agoThat's because a panic should never happen in Rust. If it happens, there's by definition a bug which will make the thread crash.
- RustGirl 9y agoI started out as a rust True Believer and still am active in the Rust community. But I don't use it anymore for new projects because it really doesn't bring anything new to the table. At my current job, I'm knee-deep in C++.
- frankzinger 9y ago> because it really doesn't bring anything new to the table. What about the built-in memory and concurrency safety?