NearlyFreeSpeech.NET Blog » How (and why) we rewrote our production C++ frontend infrastructure in Rust
“Should we convert our _____ code to Rust?” is a question that comes up a lot. And a lot of the time the right answer is a pretty firm, “No.” So I thought it might be beneficial (and hopefully interesting) to walk through a case where the code involved was incredibly you-cannot-fuck-this-up business-critical and when we asked that question about it, we came back with a yes. Here’s what it was, how we got to that answer, and what we did about it. First off, when we say “frontend” we don’t mean what most of the world (and most of our members) think of as frontend. Our frontend consists of the servers that sit out in front of member sites to perform caching, proxying, routing, access control, and TLS.
“Should we convert our _____ code to Rust?” is a question that comes up a lot. And a lot of the time the right answer is a pretty firm, “No.” So I thought it might be beneficial (and hopefully interesting) to walk through a case where the code involved was incredibly you-cannot-fuck-this-up business-critical and when we asked that question about it, we came back with a yes. Here’s what it was, how we got to that answer, and what we did about it. First off, when we say “frontend” we don’t mean what most of the world (and most of our members) think of as frontend. Our frontend consists of the…
saved by
related reading
- Rewriting Bun in Rust | Bun Blogbun.com
- How Mozilla’s Rust dramatically improved our server-side performance | Figma Blogfigma.com
- Learn Rust the Dangerous Waycliffle.com
- The Descent — What Happened to the Frontend While You Weren't Watchingdavidpoblador.com
- Rust for C programmers - Rust for C-Programmersrust-for-c-programmers.com
- The Coded Messagethecodedmessage.com
- My Thoughts on the Bun Rust Rewriteandrewkelley.me
- The Rust Journey, Part 0: Why Systems Software and Why Rust?monadical.com
- Why Turborepo is migrating from Go to Rust - Vercelvercel.com
- Rust – a concise overview of the modern programming language coders love - K&Ckruschecompany.com
- Why am I writing a Rust compiler in C? – notgull – The world's number one source of notgullnotgull.net
- The Great Refactor | IFPifp.org