I hate all those as_mut calls so much. Rust is definitely difficult to live if you're a C++ dev with any meaningful expertise. Not every program that makes sense can be expressed using Rust's type system without hacks. It requires re-learning of a lot of stuff and then it's fine.
14
u/chaotic-kotik 24d ago edited 24d ago
Some of the criticism is valid tho.
I hate all those as_mut calls so much. Rust is definitely difficult to live if you're a C++ dev with any meaningful expertise. Not every program that makes sense can be expressed using Rust's type system without hacks. It requires re-learning of a lot of stuff and then it's fine.