Why Rust

1 minute read Published: 2018-05-04

Rust is a fast, safe, modern systems programming language that feels like a higher level language. Oddly, the syntax does not appeal to me. I usually prefer language syntax with significant white-space such as OCaml, F#, python, etc. Other aspects of Rust have helped me to overcome my usual instinct.

Rust is being built for the web. From its inception its purpose was to allow Mozilla to write safe, typed code for Firefox. With the advent of web assembly there are multiple efforts to keep Rust a leading technology for compiling to web assembly. I can write Rust on the client and the server. This will lead to code sharing between the client and server which will reduce my maintenance burden. I can use a modern, intelligently designed language to build web clients as well as Progressive Web Applications. On the server, I can build asynchronous services that utilizes all of the server cores.

Since Rust runs lean and fast with no garbage collection on a wide range of devices, I can use Rust as an embedded language in hardware such as the Beagle Bone Black and the Raspberry Pi. I prefer the OpenBSD operating system for its security, simplicity, functionality and freedom (BSD licensing). I can run Rust on OpenBSD without the need for a virtual machine.

The Rust community is vibrant, dynamic and growing. There are libraries new and old with active maintainers and contributors. It is energizing to know that any effort put forth whether speaking, writing, coding, donating or networking in the community is not only helping the community but is helping Mozilla grow Rust and therefore Firefox.

In conclusion, Rust is the most practical language/technology I can choose to fit my wide ranging preferences. It reduces the complexity of building the systems I wish to build. At the same time, contributing to its ecosystem seems like a worthy endeavor.