Most Viewed Content:

Cygnus space cargo spacecraft arrives at International Space Station with only half of its solar array

NASA astronaut Nicole Mann, backed up by NASA astronaut...

Toyota responds to continued production cuts in the next 3 months: easing pressure on dealer earnings

In response to the news that "production will continue...

Google to bring PWA application backup & restore function for Chrome/android

According to thespAndroid reports, GitHub's Chromium repository recently added...

Google team: Rust language learning does not cost much and high-quality code can be written

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.

Latest

Starting from 48,900, Geely Panda Karting officially starts pre-sale

Geely Panda Karting officially started pre-sale. The pre-sale price...

Ford: Expand charging network, fuel/ hybrid/ pure electric in parallel

Recently, Ford released the company's comprehensive annual report for...

Chery’s two new cars are exposed, targeting overseas markets

Recently, some media exposed the actual cars of two...

New Trumpchi Shadow Leopard to launch on May 1, upgraded performance rims

Recently, we learned from the official that the 2024...

Newsletter

Don't miss

Starting from 48,900, Geely Panda Karting officially starts pre-sale

Geely Panda Karting officially started pre-sale. The pre-sale price...

Ford: Expand charging network, fuel/ hybrid/ pure electric in parallel

Recently, Ford released the company's comprehensive annual report for...

Chery’s two new cars are exposed, targeting overseas markets

Recently, some media exposed the actual cars of two...

New Trumpchi Shadow Leopard to launch on May 1, upgraded performance rims

Recently, we learned from the official that the 2024...

Samsung Galaxy S25 Ultra expected to feature 5000mAh + 45W Combo

Technology media WccFtech recently reported that Samsung will not...
Stephen Cruise
Stephen Cruisehttps://www.techgoing.com
Stephen Cruise is a senior editor covering latest smartphones, EVs, PC gaming, console, and tech with 11 years of experience.

SAIC Volkswagen Tiguan L PRO is expected to be launched on May 15

Recently, we learned that SAIC Volkswagen’s new Tiguan L PRO is expected to be launched on May 15. The new car is launched in...

CATL’s long-life battery for loaders is delivered for the first time

The first roll-off ceremony of CATL's new generation of long-life battery electric loaders was held on April 28 at China Lonking's headquarters in Longyan,...

Kia EV9 GT high-performance version will be released in January 2025

Recently, at Kia’s overseas investor day, it was officially announced that the Kia EV9 GT will be released in January 2025. The car is...