Rust is a general-purpose, compiled programming language developed under the leadership of Mozilla, and is respected by most developers. The Google team recently published an article in the official blog to share their experience with the Rust language.
The Rust language does not require massive learning costs
The Google blog
The Rust compiler is not as fast as you might think
Google’s internal survey shows that more than 2/3 of respondents believe they can get started with Rust after only 2 months of learning, and 1/3 of respondents say they are now able to use Rust efficiently after learning it for 2 months previously. is not accurate.
Google’s survey shows that slow build speed is by far the number one challenge developers encounter when using Rust, and only 40% of respondents are comfortable with the speed of the Rust compiler.
unsafe code and interoperability are not the biggest challenges
Google refutes the anecdotal claim that “unsafe code and interoperability are always the biggest challenges” and the top three challenges they face in Rust, according to the Google developers interviewed, are more like
Macros
Ownership and borrowing
Async programming
In addition, writing unsafe code and dealing with C/C++ interoperability were also problems for Google developers, but not the biggest challenges.
Rust’s compiler error messages are very useful
The Rust compiler is mostly well-received within Google, with only 9% of respondents dissatisfied with the quality of diagnostic and debugging messages in Rust.
▲ Image Source Google Official Blog
The compiler messages are considered to be relatively good by the combined community feedback.
Rust’s code quality is high
The vast majority of Google respondents report that Rust code is of high quality – 77% of developers are satisfied with the quality of Rust code. When they were asked to compare “whether they think Rust code is more correct than code they write in other languages,” 85% of respondents believed their Rust code was correct.
In addition, Rust code is easy to review, with more than half of respondents saying that Rust code is very easy to review.