← 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 11

Compile Times Are Rust's Achilles Heel

Large Rust projects have notoriously slow compile times. Incremental compilation helps but a clean build of a big project can take minutes. C++ with modules (C++20) is catching up, but Rust's compile times remain a real productivity issue for large codebases.

By: dave_runtime Apr 11, 2026 18:39
#2 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
#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 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
[1] [2] Page 1 of 2 (5 posts)
5 posts in this thread [+] Reply