← 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 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
#3 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
#4 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
[1] [2] Page 1 of 2 (5 posts)
5 posts in this thread [+] Reply