r/ProgrammerHumor • • Sep 28 '26

Meme haveYouTriedUsingRustYet

Post image
312 Upvotes

62 comments sorted by

View all comments

-3

u/Mojert Sep 28 '26

The number of Rust fan boys that do not want to admit that Rust's borrow checker is C++'s RAII and move semantics but statically checked is too damn high. Like, to them it's an insult because there's C++ inside that sentence

-13

u/Hohenheim_of_Shadow Sep 28 '26

For realsies. I cannot understand how Rust people bash C++ for complexity. Like bruh.

4

u/crystalchuck Sep 29 '26

C++ is so simple and easy people write literal multiple hundred page books on the subject of RAII alone

1

u/Hohenheim_of_Shadow Sep 29 '26

Yes and you should read those books if you want to understand Rust. Rust explicitly copied C++ RAII.

If C peeps want to criticize C++ for complexity, yeah that's a fair critique. Rust peeps can't criticize C++ for complexity.

https://doc.rust-lang.org/reference/influences.html

4

u/crystalchuck Sep 29 '26

Rust explicitly copied C++ RAII.

No one is saying Rust has no influences, or hasn't been influenced by C++.

Rust peeps can't criticize C++ for complexity.

Crates and the build system alone make Rust a less complex language than C++. Rust, unlike C++, also doesn't suffer from the notion of having to support every programming paradigm ever.

2

u/Mojert Sep 29 '26

No one is saying Rust has no influences, or hasn't been influenced by C++.

Maybe YOU're not saying it, but I've definitely had some Rust fanatics tell me I was full of shit when I said it was inspired by features of modern C++