Skip to main content

· 4 min read
Bei

At Dozer, we have adopted Rust as our main programming language, despite many of our team members having a strong background in C++. This is because Rust offers a combination of expressiveness, safety and ergonomics through its language constructs, which we find appealing.

In this post, we will discuss two language features that we believe Rust handles better than C++, namely its ownership model and trait object system. These compare favorably to C++'s move semantics and virtual functions, respectively, and provide insights into why Rust has gained popularity among many developers.