Posted on

Speed is a must, security is nonnegotiable, and size matters

After a successful first newsletter, hereby your second dose of Rust Trends. Feel free to reply to this email if you have ideas to share… Let’s dive into the content.

In today’s email:

  • Cloudflare: building a better internet with Rust (Speed)
  • Linux Kernel: Rust will be part of the Linux Kernel (Security)
  • Compiling Rust: speed is number one, but size also matters (Size)

Building a better internet with Rust

Cloudflare is more than only a Content Delivery Network (CDN), that speeds up and secures your website. For their internal infrastructure, they outgrew NGINX and the programming language C. NGINX is known as one of the fastest HTTP proxies and Cloudflare decided to build their own in Rust. To optimize for speed and security on one side and development velocity on the other. Read more on their challenges, trade-offs, and how 5 milliseconds can make a difference. ps. Rust-Trends.com is a happy free user of Cloudflare.
Tauri for GUI apps

Linux Kernel 6.1 will welcome Rust

Linux Kernel support for Rust
According to the original creator of Linux, Linus Torvalds: “unless something odd happens,” Rust will be part of the final Linux 6.1 release. Memory safety and removing many vulnerabilities at compile is a big plus for Rust. Read more on ZDNET

Speed and size both matter for Rust

Often Rust is mentioned for its execution speed. However, size does matter as well in Rust. The build environment cargo lets you influence the size of the final binary. Look at our example project on GitHub and read more in this blog post.

Want to learn more on this topic the Cargo Book is a valuable source of information when it comes to the building environment.

Cargo Logo

Enjoy your Sunday, and have a great week ahead.

Thanks for reading!
Bob Peters

Feel free to connect with me on LinkedIn