Menu

Rewrite It In Go: Why I Left Rust Behind
📰

Rewrite It In Go: Why I Left Rust Behind

DEV Community: rust·smtdfc·about 23 hours ago
#3iYxkbJw
#devtorust#devto#dev#rust#rewrite
Reading 0:00
15s threshold

Many of you have probably heard of RIIR (Rewrite It In Rust). I don't claim to be great at Rust. I gave it a real try, and my verdict fits in one sentence: "I didn't like it much."

It's not because Rust is weak. Quite the opposite: I'm deeply impressed by its systems programming capabilities and its memory-safety guarantees. It's just that while writing it, I felt like I was solving math problems rather than programming.

Here's what wore me down:

Fighting the compiler. I'd spend an entire afternoon just convincing it how long a variable should live.

Async. From picking a runtime to thread-safety, I found it quite tangled. Maybe that's down to the design, maybe I just wasn't used to it yet.

Slow compiles. Every edit meant another wait.

Cargo cache. The target directory is a worthy rival to node_modules , and my SSD was the victim.

I once built a simple AI agent in Rust called Crusty . Then I failed at adding new features to it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.