6

Sylvain Kerkour - 42 Companies using Rust in production

 3 years ago
source link: https://kerkour.com/blog/rust-in-production-2021/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

42 Companies using Rust in production

Thu, Apr 8, 2021

A lot of people want to learn Rust but are afraid that the language or the ecosystem is not production-ready yet, or that they may not find a job.

Be reassured, Rust is already used in production, from small shops to the largest companies in the world, serving billions of transactions daily, if not hourly. Whether it be for its reliability, productivity, speed, or safety, Rust is a language of choice, today.

The following list is not exhaustive, I picked some of my 42 favorite stories about using Rust in production now (or very soon).

1Password: “We’ve been using Rust in production at 1Password for a few years now. Our Windows team was the frontrunner on this effort to the point where about 70% of 1Password 7 for Windows is written in Rust. We also ported the 1Password Brain – the engine that powers our browser filling logic – from Go to Rust at the end of 2019 so that we could take advantage of the speed and performance of deploying Rust to WebAssembly in our browser extension."

Android: “For the past 18 months we have been adding Rust support to the Android Open Source Project, and we have a few early adopter projects that we will be sharing in the coming months. Scaling this to more of the OS is a multi-year project."

Astropad: “With Rust, we’ll have a high-performance and portable platform that we can easily run on Mac, iOS, Linux, Android, and Windows. Not only will this drastically expand our potential market size, but we also see many interesting new uses for our LIQUID technology that we’ll be able to pursue with our Rust based platform. We’re confident that we’ll finish our Rust journey with stronger code, better products, and an optimistic outlook for Astropad’s future."

AWS: “Here at AWS, we love Rust, too, because it helps AWS write highly performant, safe infrastructure-level networking and other systems software. Amazon’s first notable product built with Rust, Firecracker, launched publicly in 2018 and provides the open source virtualization technology that powers AWS Lambda and other serverless offerings. But we also use Rust to deliver services such as Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon CloudFront, Amazon Route 53, and more. Recently we launched Bottlerocket, a Linux-based container operating system written in Rust."

Bloom: “As an indie and boostraped business, I need Bloom to be as reliable as possible, so I can enjoy my nights and holidays. Rust is a perfect fit thanks to its awesome compiler that catches most of the bugs at compile time.

Cloudflare: “As our experience with Rust grew, it showed advantages on two other axes: as a language with strong memory safety it was a good choice for processing at the edge and as a language that had tremendous enthusiasm it became one that became popular for de novo components."

Coursera: “We efficiently, reliably, and securely grade assignment submissions inside hardened Docker containers. Although we offload the cluster scheduling to Amazon EC2 Container Service (ECS), to orchestrate all of the moving pieces we have a number of additional programs that work in concert, some of them written in Rust."

Cultivate: “Rust allowed the experienced developers to move fast and develop features quickly with less errors, and allowed those exploring systems development for the first time to move forward with confidence, curiosity and protection from the “gotchas” of C/C++."

Crisp: “Vigil is an open-source, self-hosted status page, monitoring and alerting system. It is built in Rust, which makes it reliable, lightweight and crash-free (at least, in theory)."

Discord: “When starting a new project or software component, we consider using Rust. Of course, we only use it where it makes sense. Along with performance, Rust has many advantages for an engineering team. For example, its type safety and borrow checker make it very easy to refactor code as product requirements change or new learnings about the language are discovered. Also, the ecosystem and tooling are excellent and have a significant amount of momentum behind them."

Ditto: “When we started to build Ditto as a cross-platform SDK, we understood that it was untenable to create a specific port for each popular programming language. Instead, we opted to build the vast majority of shared code in Rust. Rust bought us a lot of features such as being easier to read, highly performant, and includes a modern build system and package manager."

Dropbox: “We wrote Nucleus in Rust! Rust has been a force multiplier for our team, and betting on Rust was one of the best decisions we made. More than performance, its ergonomics and focus on correctness has helped us tame sync’s complexity. We can encode complex invariants about our system in the type system and have the compiler check them for us."

Everlane: Rust affords us forgettability. This service has been in production for 4 months now. It handles on average 40 requests per second with a 10ms response time. Its memory usage rarely goes above 100MB”

Facebook: Facebook is hiring a team to work on the Rust compiler and libraries

Faraday

Figma: “While we hit some speed bumps, I want to emphasize that our experience with Rust was very positive overall. It’s an incredibly promising project with a solid core and a healthy community."

Fly.io: “Every server in our infrastructure runs a Rust-based proxy named fly-proxy. The proxy is responsible for accepting client connections, matching them to customer applications, applying handlers (eg: TLS termination), and backhaul between servers."

fullstory: “After careful consideration, Rust came out ahead on the criteria we chose. While we admit that some of us were hoping that this would be the end result, it was not a foregone conclusion! We have quite a few engineers with deep knowledge of Go and TypeScript, and we used their experience to make sure that those languages didn’t get short shrift—but in the end, the consensus decision was that Rust was, in fact, the right choice."

IBM: “A team at IBM achieved incredible performance improvements using WebAssembly and Rust”

Huawei: “A journey towards the vision of Trusted Programming has just begun and we hope to work collaboratively with the Rust community, and the upcoming Rust Foundation, to lead a smooth revolution to the Telecom software industry."

KISIO Digital

Komodo Platform

Linkerd: “The decision to use Rust came down to several factors. First, a service mesh proxy has some pretty stringent requirements: because it’s deployed as a sidecar on a per-pod basis, it has to have as small a memory and CPU footprint as possible. Because most or all of the application’s network traffic flows through the proxy, it needs to have minimal latency overhead, especially worst-case tail latency. Perhaps most importantly, because the proxy handles application data—potentially including incredibly sensitive data such as financial transactions or personal health—it has to be secure."

Microsoft

Mozilla: “Starting with Firefox 48, Mozilla is shipping its first production Rust code, with more to come!"

npm: “npm’s first Rust program hasn’t caused any alerts in its year and a half in production. “My biggest compliment to Rust is that it’s boring,” offered Dickinson, “and this is an amazing compliment.” The process of deploying the new Rust service was straight- forward, and soon they were able to forget about the Rust service because it caused so few operational issues”

OneSignal: “Just this month, we crossed the threshold of sending 7 Billion notifications per day, and hit a record of 1.75 million deliveries per second."

Qovery: “Rust is gaining momentum with companies realizing its benefits for cloud computing. Dropbox used Rust to rewrite some of its core systems while Mozilla used Rust to build the Firefox browser engine demonstrating its robust benefits. At Qovery, we believe in Rust’s capabilities for building the future of the Cloud."

Rapid7: “The main speed bump we see for our Rust deployment is how easily the deployment tools on different platforms can accommodate the language and how quickly agent developers can learn the language and develop integrations with the managed runtimes."

Samsung: “We want to give out a big shoutout to the Rust Language 5 core team, Mozilla, and the many contributors to packages in the Rust language ecosystem. We are making use of Rust for the backbone of our new update client and server as well as a few other pieces of software and are looking to continuing to expand our use of the language over time as makes sense."

Sentry: “This project has been a tremendous success. It took us very little time to implement, it lowered processing times for our users, and it also will help us scale horizontally. Rust has been the perfect tool for this job because it allowed us to offload an expensive operation into a native library without having to use C or C++, which would not be well suited for a task of this complexity."

Signal

Snips

System76: “Like all of our projects today, it is written in Rust, and adheres to current best practices. The project is configured as a workspace, with the core crate providing a generic library for discovering and managing firmware from multiple firmware services. Both fwupd and system76-firmware are supported."

Threema

Tonari: “Experiencing no software-related downtime so far is both a pleasant surprise, and a testament to the safety provided by Rust’s guarantees. Rust has also made it easy to write performant code with efficient resource usage - both our CPU and memory usage has been predictable and consistent. Without a garbage collector, we can guarantee consistent latency and frame rates."

Veloren

VS Code: Ever noticed how fast is VS Code’s search? The reason is that VS Code is using ripgrep to power its search.

Wire

Zenly

yeslogic

Clever Cloud: “For us, these benefits make a strong case for Rust as a reliable building block for a production platform. This is the piece of code we don’t have to worry about, and it will enable others to run safely."

And many more such as Scaleway, Oxide, Fuchsia, MeiliSearch, Vector, embark, Chef, BBC

You can also find a dedicated page on the official Rust website.

Want to learn Rust today? I’m writing a book about Rust and security (available in Early-Access) where I share all the tips I’ve learned writing production Rust for 2 years. Here is a coupon to save 10€ on the book: https://academy.kerkour.com/black-hat-rust?coupon=BLOG.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK