this post was submitted on 27 Jan 2025
555 points (96.3% liked)
Programmer Humor
20039 readers
1857 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
C++ is obsolete now that we have Go
C++ is better suited to lower level operations than Go, C++ can have huge control over the environment (allowing it to be run on bare metal with no OS) while Go is limited due to it using a garbage collector
If there was a replacement for C++, the best bet IMO would be Zig
As someone who knows neither of the three: Why Zig over Rust as a Cpp replacement?
Rust has its own issues.
Before the memory safety craze, Rust was hyped as a functional programming language, meaning it not only has lambdas and monads, but also const by default, which will force you to rethink all your programming decisions. Also no classes, so you do even more rethinking.
I don't just rethink my programming decision but all my life decisions every night. Seem like Rust is the perfect language for me.