What you need to know about Rust in 2020

While many programmers have long used Rust for hobby projects, in 2019, the language attracted support from major technology companies, as the top Rust articles on Opensource.com explain.
118 readers like this.
Person using a laptop

Rust has drawn plenty of attention from programmers on sites like Hacker News for a while. While many have long loved using the language for hobby projects, it didn't start catching on in industry until 2019, when this really started to change.

Over the last year, many large companies, including Microsoft, Facebook, and Intel, came out in support of Rust, and many smaller ones took notice. As the first emcee at RustFest, the largest Rust conference in Europe, in 2016, I didn't meet a single person professionally using Rust who didn't work at Mozilla. Three years later, it seemed like every other person I talked to at RustFest 2019 was using Rust in their day job for another company, whether as a game developer, a backend engineer at a bank, a creator of developer tools, or something else.

In 2019, Opensource.com also played a role by reporting on the growing interest in Rust. In case you missed them, here are the top articles about Rust on Opensource.com over the last year.

Building the virtualization stack of the future with rust-vmm

Amazon's Firecracker is the virtualization technology that powers AWS Lambda and Fargate, and it is written completely in Rust. One of the technology's authors, Andreea Florescu, offers insight into Firecracker and its related technologies in Building the virtualization stack of the future with rust-vmm.

Firecracker started life as a fork of Google's CrosVM but quickly diverged due to the differing needs of the two projects. Despite this, there are many common pieces that are best shared across the project and in any other virtual machine manager (VMM) written in Rust. With that in mind, the rust-vmm project started as a way for Amazon and Google, as well as Intel and Red Hat, to share common Rust "crates" (i.e., packages) with each other and the rest of the open source community. These include interfaces to KVM (Linux virtualization APIs), Virtio device support, and a kernel loader.

It's truly amazing to see some of the titans of the software industry working together around a common technology stack written in Rust. Given this and other partnerships around technology stacks written in Rust, I wouldn't be surprised to see more of this in 2020.

Why to choose Rust as your next programming language

Adopting a new language, especially at a large company with a long-established technology stack, is no easy task. I had the pleasure of writing Why to choose Rust as your next programming language about how Microsoft is looking into adopting Rust when so many other interesting programming languages have not been considered.

Choosing a programming language involves many different criteria—from technical to organizational to even emotional. Some of these criteria are easier to measure than others. For instance, it's easier to understand the costs of technical changes, like adapting build systems and building new tooling, than it is to understand organizational or emotional issues like how productive or happy developers will be using this new language. What's more, the easy-to-measure criteria are often cost-related, while the hard-to-measure criteria are often benefits-oriented. This often leads to costs getting more weight in the decision-making process, even though it's not necessarily true that the costs outweigh the benefits—it's just that they're easier to measure. This makes it unlikely for a company to adopt a new language.

However, one of Rust's largest benefits is how easy it is to measure its ability to write secure yet performant systems software. Given that 70% of severe vulnerabilities at Microsoft are due to memory-safety issues that Rust is designed to prevent, and that these issues cost the company billions of dollars per year, it's easy to measure and understand the benefits of adopting the language.

Whether full-scale adoption of Rust at Microsoft will happen remains to be seen, but Rust's future is bright if only for the fact that is has a clear and measurable benefit over existing technologies.

Rust in 2020

Rust is really starting to gain traction in industry. Although it still has a long way to go to reach the popularity of languages like C++. I expect more companies to start adopting Rust in 2020. The Rust community must now set its sights on welcoming people and companies into the community while ensuring that the things that have driven the language to this point remain in place.

Rust is more than just a compiler and a set of libraries. It's a group of people who care about making systems programming easy, safe, and fun. The coming year will be critical in Rust's journey from a hobbyist language to one of the main languages used in the software industry.

User profile image.
Ryan is a programmer working at Microsoft in Berlin as a developer advocate. In his day job he gets to program in many different programming languages but always enjoys it most when he gets to use Rust. Besides writing Rust, Ryan loves exploring spaces in Berlin and other cities, cooking/eating and dancing with reckless abandon.

Comments are closed.

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.