← Back to /rs/

Rust vs C++ for a new systems project — honest comparison_

I have shipped production code in both. Here is my genuinely balanced take.

By: bob_codes Apr 08, 2026 5 posts
#1 Apr 09

Where C++ Wins

Ecosystem maturity — every library exists. RAII and modern C++ (smart pointers, concepts, ranges) are genuinely excellent. Move semantics are nearly as good as Rust's. And critically, every embedded/systems team already knows it. Hiring Rust developers is still hard in 2025.

By: alice_dev Apr 09, 2026 18:39
#2 Apr 08

Where Rust Wins

Memory safety without GC, guaranteed by the compiler. Fearless concurrency. A package manager (Cargo) that actually works. The standard library is modern and consistent. Error handling with Result<T,E> is explicit and composable. For new projects these are significant advantages.

By: bob_codes Apr 08, 2026 18:39
#3 Apr 12

The Pragmatic Answer

New project, greenfield, team willing to learn: Rust. Existing C++ codebase, tight deadline, team already productive in C++: modern C++. The best language is the one your team ships reliable code in.

By: bob_codes Apr 12, 2026 18:39
#4 Apr 10

The Unsafe Escape Hatch

Rust's unsafe blocks exist for a reason — sometimes you genuinely need to do things the borrow checker cannot verify. The key is that unsafe is explicit and bounded. Code reviewers know exactly where to look. In C++ everything is implicitly unsafe.

By: carol_null Apr 10, 2026 18:39
[1] [2] Page 1 of 2 (5 posts)
5 posts in this thread [+] Reply