r/rust • u/rustacean1337 • Nov 17 '22
What are Rust’s biggest weaknesses?
What would you say are Rust’s biggest weaknesses right now? And are they things that can be fixed in future versions do you think or is it something that could only be fixed by introducing a breaking change? Let’s say if you could create a Rust 2.0 and therefore not worry about backwards compatibility what would you do different.
220
Upvotes
View all comments
Show parent comment
2
u/VegetableBicycle686 Nov 18 '22
> different worlds
I think that's it actually yes. Panics have very different severities in different applications and different platforms, and might result in a nice user-facing error message in a GUI/web app, or crash the whole application if panic=abort. So there's perhaps no way to please everyone.
I find it quite interesting that there's been strong support in this thread for the existing panicking Index behaviour when the casual use of `unwrap()` is frowned upon though.