The Code/X ArchiveView on X
Justin Schroeder

@jpschroeder

All code should be rewritten in Rust.

Rust was such a horrible language for humans to write, and that's precisely what makes it incredible for agents. If you're not steeped in languages like I am (was), here's why this matters...

All languages fall into one of two camps: dynamic memory allocation and manual memory allocation. Sometimes languages allow for both, but programmers either needed to manage carving out chunks of memory for their program themselves or to delegate that responsibility to the machine.

The tradeoff between the two is roughly performance vs. pain and safety. Manual allocation is generally faster, but sucks to program and, if not done carefully, can leave security vulnerabilities (C, C++, Zig…). Languages that manage your memory are, generally, much more delightful to write but a bit slower (JavaScript, Python, Ruby, OCaml).

Rust tried to solve the security concerns through, essentially, the most complex language constructs known to man. It was fast. It was safe, and broadly it was the wrong decision for most projects because it was too hard to learn, too hard to change, and hard to hire for.

Not anymore. Programmers no longer program. They don't write syntax, they don't read code, and frankly most don't know a thing about security. Vibe-coded projects written in Rust are faster, safer, and more likely to work the first time (due to an insanely complex compiler).

It's the perfect tool for the moment. Only the Rust Foundation could miss this layup.

**I will leave one small caveat here: TypeScript is the inevitable language for agent development, deployment, and distribution, but thats deserves a separate post.
145691.1K583