Back Original

Just Write Rust

In The Missing Programming Language, I detailed my search for the perfect programming language - one that excelled in guardrails, performance, ecosystem, and applicability.

I never found a perfect language (surprise!) but after experimenting with various languages Rust has become my default for most projects. Here I'll make my case for why you should just write Rust - why it's a great default especially in the age of AI.

Rust has great bones

My programming language comparison across expressive types, ecosystem, community, performance, and developer experience

Rust was a frontrunner in my search for the perfect programming language because it has:

So while Rust may not beat out a given language along one axis, as a package it's a clear frontrunner.

Rust has tradeoffs

Rust is great but it does have shortcomings.

The virtuous cycle of AI + Rust

Agents are good at writing Rust and Rust provides System Guardrails for AI to write better code. Together it means we can write Rust code faster and build better systems with AI - a virtuous cycle.

As agents continue to improve, I expect the benefits of using Rust to improve as well. Great default System Guardrails, best in class performance, and suitability for basically any class of software.

Rust Port Examples

Here I'll go over just a few examples of porting to Rust - where teams started without Rust and decided to move towards it, often for speed, memory, and/or correctness reasons (which themselves often offered greater confidence in larger architecture changes).

Next

So that's why I think you should just write Rust.

Obviously you should do your own analysis and pick the best tool for the job but Rust joins Postgres on my toolbelt of default technologies. It may not be the best in every case but it's a great choice for 90% of cases when I need that shape of tool.

CloudSeed Rust architecture showing the Dockerized server, PostgreSQL, CSS pipeline, and OpenTelemetry observability.

If you want to see how I'm building with Rust, take a look at High-Level Rust or checkout CloudSeed for how I'm building fullstack apps with Rust.

If you liked this post you might also like: