flâneur

NearlyFreeSpeech.NET Blog » How (and why) we rewrote our production C++ frontend infrastructure in Rust

blog.nearlyfreespeech.net · 2,426 words · saved by 1 readers

“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