Tips for Rust in Enterprise Environments

Rust in Industry: Correctness, Adoption, and Community

On April 3rd, a new Rust community meetup took place where Alejandro Leiton, software developer at VAIRIX and Rust enthusiast, shared an updated view of the ecosystem’s state, focusing on the tool, its adoption in industry, and the community that drives it.


Presentation

In this presentation, Alejandro Leiton gives us practical advice and strategies for adopting Rust in companies. We explore cases, how to train teams in the language, and the current state of the Rust community.


Download the Slides

Download presentation slides (PDF)

The slides include:

  • Existing tooling in Rust
  • Adoption in companies like Google and Microsoft
  • Adoption in open source projects like Linux and Ubuntu
  • Information about existing communities

Ecosystem and Tools

Rust has a robust ecosystem and first-class tools. At its heart is crates.io, the official Rust package registry, which functions as the equivalent of npm (JavaScript) or pip (Python). Officially backed by the Rust Foundation, crates.io offers:

  • Scalable and secure infrastructure
  • Package security monitoring
  • Coordination with other ecosystem actors

Among the most relevant crates for enterprise applications are:

  • tokio: asynchronous development, driven by the Rust Foundation
  • axum: modern web framework
  • mongodb: official MongoDB driver
  • aws-sdk-s3: official Amazon SDK for cloud services
  • pingora: Cloudflare’s API gateway, developed in Rust

Enterprise Adoption

Google

Google has adopted Rust as a first-class language for Android and Chromium. A key fact: in internal A/B testing, it was observed that Rust code is as productive as Go and twice as productive as C++, while also having:

  • Lower memory usage
  • Lower error rate
  • High confidence in code correctness (“If it compiles, it works”)

85% of surveyed developers at Google stated they feel more confident about the correctness of their Rust code. In less than 4 months, they reach productivity levels similar to their previous language.

Google also donated USD 1 million to the Rust Foundation to work on C++ bridges. Source: The Register

Microsoft

Microsoft has also invested heavily in Rust:

  • USD 10 million in tooling
  • USD 1 million in donations to the Rust Foundation

They identified that 70% of their vulnerabilities in the last decade were memory errors. In response, they began rewriting critical parts of Windows with Rust:

  • DirectWrite Core: migrated by 2 devs in 6 months (154K lines of code)
  • Win32K GDI Region: reimplemented in 3 months

They also use Rust in Azure services such as:

  • Caliptra: hardware root of trust
  • Hyper-V, OpenVMM, HiperLight: virtualization technologies
  • Azure Data Explorer and internal HSM chips

Source: Microsoft Open Source Blog

Linux and Ubuntu

Rust has been advancing in the Linux kernel since 2020, and some distributions are adopting it as an official option:

  • Ubuntu 25.10 plans to replace GNU coreutils with tools written in Rust

Source: The Register

Other Companies

  • Amazon (AWS): uses Rust in Firecracker and Bottlerocket
  • Meta (Facebook): backend services and cryptography
  • Cloudflare & Discord: low-latency and high-concurrency systems
  • Figma: parts of the backend were rewritten in Rust to improve real-time performance

Why Discord is switching from Go to Rust

Rust in production at Figma

Community

The Rust community is one of the pillars of the language. There are multiple spaces for participation, both virtual and in-person:

Conferences

Online Community