VOOZH about

URL: https://thenewstack.io/google-busts-confirms-common-myths-about-rust-programming/

⇱ Google Busts, Confirms Common Myths about Rust Programming - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-08-18 03:00:59
Google Busts, Confirms Common Myths about Rust Programming
Rust / Software Development

Google Busts, Confirms Common Myths about Rust Programming

Concerned about myths regarding the efficacy of adopting the Rust programming language? Who you gonna call? Google's Rust Myth Busters.
Aug 18th, 2023 3:00am by Darryl K. Taft
👁 Featued image for: Google Busts, Confirms Common Myths about Rust Programming

Earlier this summer, Google did a retrospective on its use of the Rust programming language, delving into such issues as how long it takes for developers to become efficient with the language to compiler speed and the overall quality of Rust code.

In a blog post, two in-house Ph.D. eggheads, Lars Bergstrom, a Google director of engineering working on Android Platform Programming Languages, and Kathy Brennan, a low-level Operating Systems Sr. User Experience Researcher, looked into some of the key rumors about the use of Rust as well as pros and cons of using the relatively new language — which just reached version 1.0 as recently as 2015, versus the nearly 30-year-old Java workhorse that will see release 21 next month, for instance.

The post entitled “Rust fact vs. fiction: 5 Insights from Google’s Rust journey in 2022,” sheds light on what over 1,000 Google developers who have authored and committed Rust code as some part of their work in 2022 had to say, Bergstrom and Brennan explained, as Google has seen increased Rust adoption, particularly in its consumer applications and platforms.

Code Quality

The study confirmed a key “myth” or notion about Rust that it enables developers to deliver high-quality code.

“The respondents said that the quality of the Rust code is high — 77% of developers were satisfied with the quality of Rust code,” the post said. “In fact, when asked to compare whether they felt that Rust code was more correct than the code that they write in other languages, an overwhelming 85% of respondents are confident that their Rust code is correct.”

Moreover, that correct code also is easy to review, as more than half of respondents said that Rust code is incredibly easy to review.

“As an engineering manager, that result is in many ways at least as interesting to me as the code authoring results, since code reviewing is at least as large a part of the role of a professional software engineer as authoring,” Bergstrom noted in the post. “As both, we at Google and others have noted, developer satisfaction and productivity are correlated with both code quality and how long it takes to get a code review. If Rust is not only better for writing quality code, but also better for getting that code landed, that’s a pretty compelling set of reasons beyond even performance and memory safety for companies to be evaluating and considering adopting it.”

Hard to Learn?

Meanwhile, the study debunked the notion that Rust takes more than six months to learn.

Indeed, based on the Google study, more than two-thirds of respondents said they were confident in contributing to a Rust codebase within two months or less when learning Rust. Further, a third of respondents said they became as productive using Rust as other languages in two months or less. And within four months, that number increased to over 50%.

Compiler Speed

The Google study also confirmed the nagging notion that the Rust compiler is not as fast as people would like.

“Slow build speeds were by far the #1 reported challenge that developers have when using Rust, with only a little more than 40% of respondents finding the speed acceptable,” the post reads.

And there is a community-wide effort to improve and track rustc performance.

“This is supported by both volunteers and several companies (including Google), and we’re delighted to see key developers working in this space but clearly continuing and potentially growing additional support here would be beneficial,” the post reads.

Error Messages

Another “myth” that Google confirmed is that Rust has “amazing” compiler error messages.

“Rust is commonly regarded as having some of the most helpful error messages in the compiler space, and that held up in this survey as well,” the post said.
For instance, only 9% of respondents said they are not satisfied with the quality of diagnostic and debugging information in Rust.

“People are amazed by the compiler messages. At first, this is a surprise — people are used to ignoring large compiler errors, but after getting used to it, people love it,” Google said.

The Biggest Challenges

Meanwhile, the Google study also debunked a fifth myth — that unsafe code and interop are always the biggest challenges.

For example, the top three challenging areas of Rust for current Google developers were:

Writing unsafe code and handling C/C++ interop were cited as something Google developers had encountered but were not top challenges.

Yet, “These three other areas are places where the Rust Language Design Team has been investing in flattening the learning curve overall as well as continued evolution, and our internal survey results strongly agree with these as areas of investment,” the post reads.

Google plans to continue to keep an eye on its adoption of Rust and its impact on developers and code. Updates to this study will come in the form of broader surveys featuring more than 1,000 developers.

TRENDING STORIES
Darryl K. Taft covers DevOps, software development tools and developer-related issues from his office in the Baltimore area. He has more than 25 years of experience in the business and is always looking for the next scoop. He has worked...
Read more from Darryl K. Taft
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.