this post was submitted on 27 Jan 2025
572 points (96.0% liked)

Programmer Humor

20305 readers
970 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] KSPAtlas@sopuli.xyz 15 points 1 week ago (4 children)

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

[–] stetech@lemmy.world 2 points 1 week ago (3 children)

As someone who knows neither of the three: Why Zig over Rust as a Cpp replacement?

[–] ZILtoid1991@lemmy.world 2 points 1 week ago (1 children)

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.

[–] brotundspiele@sh.itjust.works 2 points 6 days ago

I don't just rethink my programming decision but all my life decisions every night. Seem like Rust is the perfect language for me.

load more comments (1 replies)
load more comments (1 replies)