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/Sw429 Nov 18 '22
Unsafe code means that the potential for UB is confined to the unsafe code blocks. No one is using unsafe code in every line if their Rust. This is different from C++, where every line could result in UB.