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
34
u/matthieum [he/him] Nov 17 '22
Unfortunately, I doubt this one will be fixed.
When Swift demonstrated it could be done, the debate occurred, but the problem was that the amount of
unsafecode (and C-code linked to Rust) which relied onsize_ofwas judged too great, even back then, for the change not to cause a massive wave of bugs throughout the ecosystem.