"Why not rewrite C++ in Rust? The case against rewriting working systems"

"We should rewrite everything in Rust." No. We shouldn't. I'm tired of the Rust evangelism that treats C++ like it's legacy garbage that needs to be thrown out. Here's reality: we have systems in C++ that have been running flawlessly for years. Fast. Rock solid. Battle-tested under real-world load. Someone suggested we rewrite them in Rust "for safety." Let me translate: spend months rewriting working code to solve problems we don't have. Rust is great. I'm not here to bash it. But this obsession with rewriting perfectly good C++ is cargo cult thinking. The "memory safety" argument falls apart when: Your team knows C++ inside and out Your codebase has years of production hardening You have zero memory-related incidents The rewrite itself introduces way more risk than the existing code New projects? Sure, consider Rust. Greenfield where safety is critical? Absolutely. But rewriting working C++ systems just because Rust is trendy? That's not engineering. That's fashion. Your job is to ship value, not chase hype. Sometimes the most innovative thing you can do is... nothing. What "we should rewrite this in X" suggestion have you pushed back on lately? #cpp #rust #softwareengineering #programming

To view or add a comment, sign in

Explore content categories