Posted on

You can get addicted to Rust. Do not take this addiction lightly.

The Rust enthusiasm is spreading. You can get addicted to Rust. Do not take this addiction lightly. Let’s dive into the topics…

In today’s email:

  • The drop in vulnerabilities in Android 13
  • A port scanner in Rust
  • The Rust Book, now available in a crate format

The drop in vulnerabilities in Android 13

Google says that the number of memory safety vulnerabilities has dropped considerably over the past few years/releases. They believe Android’s ongoing shift from memory-unsafe to memory-safe languages is a major factor.

There is a strong correlation between the use of Rust and the decrease in vulnerabilities found. Note that correlation is not causation, but there is strong evidence like:

To date, there have been zero memory safety vulnerabilities discovered in Android’s Rust code.

Want to read more head over to their security blog.

Android and Rust

A port scanner in Rust

Rustscan portscanner in Rust
A well-known port scanner is Nmap (Network mapper). Did you know there is a (faster) Rust alternative called RustScan? To be fair it uses Nmap under the hood but utilizes multiple threads to speed up scanning.

The well-maintained repository of RustScan can be found here.

You can run Rustscan also in a Docker image. This was done to make performance consistent across different Operating Systems, because of the high open file limit.

Using a Docker in your Rust development is not new. There is an official Rust image.

The Rust Book, now available in a crate format

A funny crate and a nice way to close the Newsletter.

The Rust Book also called The Book has now I crate of its own. This book is the starting point to learn Rust. Hiro created a command line utility to easily access the book from your command line.

Crate of Books

The Rust in crate form Enjoy your Sunday, and have a great week ahead.

Thanks for reading!
Bob Peters

Feel free to connect with me on LinkedIn