|
|
|
|
|
by steveklabnik
3047 days ago
|
|
Rust cannot fix all bugs. This isn't a memory safety issue. Sometimes, you have to make tough calls. Maybe Rust++ will fix this, someday :p (Or, once people have the tolerance for the performance degradation and we can turn it on in rustc, exactly why we specified it the way we did.) (Or, you can tweak it to include this behavior in release mode; always an option) |
|
Few things are harder to debug than things that pass the tests but fail in production and anything that inserts behavior like that should be avoided like the proverbial plague.
If you're already of a mindset to have a Rust++ then you are missing the point, Rust quite possibly has a window of opportunity to displace C but for that to work at a level where it succeeds rather than as an 'also ran' you will need to religiously avoid repeating the past.