I’ve got a talk coming up where I’m championing Rust to mainly C++ and Python programmers. Does anyone know of any articles/blog posts etc that have good comparisons of equivalent tools written and Rust and some other language? I.e. “our rust service has X% more uptime than our Java one” or “it’s 100X faster than the old Python one”, or “we’ve seen a reduction in bug reports of 60% compared to the old C++ tool”, that kind of thing.
Not exactly the requested genre, but close.
Skimming This Week In Rust links might be faster than Google, if you don't get enough responses here.
Thanks I hadn't thought of trawling back through TWiR but that's a great idea.
I like this story by Bryan Cantrill: Statemaps in Rust - YouTube
Bryan is an old hand C programmer. Having been working on Solaris internals and such. So when he starts talking about a language he would prefer to use for systems programming I start to listen. In fact. I think it was that video that prompted me to look at Rust.
The story is about a program that had been implemented in node.js but was found to be far too slow on big data sets. A rewrite of the time critical parts in C sped it up by a fact of 10.
But that JS/C mashup was hard to extend with new features so Bryan took on a rewrite in Rust as a first Rust project. After much arguing with the compiler he gave up trying to be smart and write an optimal solution and just wanted to get it to work at all. The surprising being that the end result was another 40% faster anyway!
Cantrill has subsequently founded a company building server systems. https://oxide.computer They are working exclusively in Rust.
However I would caution against being overly evangelical about rewriting everything in Rust. Unless there is a very good reason, as in Bryan's case. I suspect that will frighten people away if they have experience enough to know what a lengthy, costly, risky proposition that is.