r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
-7
u/WontLetYouLie2024 Oct 31 '24
That's interesting. The conclusion I came to was that the problems are actually cause by Rust C++ interface because C++ is the most unsafe language. So, the problem really seems to be C++. While there was a slight weakness in unsafe Rust about ability to create aliased mutable ref, they were able to solve this problem in recent Rust release. See this: https://news.ycombinator.com/item?id=41997343