Cloudflare Outlines How They Rewrote An Nginx C Module In Rust
While Cloudflare is in the process of replacing Nginx with their in-house, Rust-written alternative, the Cloudflare infrastructure is vast and has many different services at play. For one of the areas they are still currently relying on Nginx, this week they published a blog post outlining how they rewrote an Nginx module in the C programming language to instead make use of Rust.
Cloudflare engineers continue loving Rust and making use of it throughout their infrastructure for memory safety benefits, more modern features, and other advantages. Cloudflare engineers have no issues publicly professing their love for Rust.
Cloudflare published a blog post on rewriting an Nginx module in Rust to help those with C modules for Nginx that may be interested in transitioning them to this more memory safe programming language. Check out that post for all the technical details as well as going over the challenges encountered.
The post also notes they are hiring more Rust engineers and also talked up Rust benefits for them as: